X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/0090bd318bd4f43d2523d71ed9404f4c93055b9e..06d02b06b5618a0e5cca6013e523d03351ea975c:/cookbooks/planet/recipes/replication.rb?ds=sidebyside 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