X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/0090bd318bd4f43d2523d71ed9404f4c93055b9e..0d4fb990b2e7c12719d199695e0dea0fdff75ac1:/cookbooks/planet/recipes/replication.rb diff --git a/cookbooks/planet/recipes/replication.rb b/cookbooks/planet/recipes/replication.rb index 42a6dbea0..1ae670bbb 100644 --- a/cookbooks/planet/recipes/replication.rb +++ b/cookbooks/planet/recipes/replication.rb @@ -165,7 +165,7 @@ directory "/var/log/replication" do mode 0755 end -[ "streaming-replicator", "streaming-server" ].each do |name| +["streaming-replicator", "streaming-server"].each do |name| template "/etc/init.d/#{name}" do source "streaming.init.erb" owner "root" @@ -175,7 +175,7 @@ end end service name do - action [ :enable, :start ] + action [:enable, :start] supports :restart => true, :status => true subscribes :restart, "template[/etc/init.d/#{name}]" end