X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/a9217ac515784c7f203e76b8885acb85a3934979..21958591555b0b80370e944e3128ac5d533c281d:/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