X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/b20599b6503be65674c3e420be6cca91b507ac0a..e4388bc08457bc7d847c9f6d2e279aba744356c3:/cookbooks/incron/recipes/default.rb diff --git a/cookbooks/incron/recipes/default.rb b/cookbooks/incron/recipes/default.rb index 29ba1e807..5423bc77a 100644 --- a/cookbooks/incron/recipes/default.rb +++ b/cookbooks/incron/recipes/default.rb @@ -20,7 +20,7 @@ package "incron" service "incron" do - action [ :enable, :start ] + action [:enable, :start] supports :status => true, :reload => true, :restart => true end @@ -37,7 +37,7 @@ node[:incron].each_value do |details| incrontabs[user].push("#{path} #{mask} #{command}") end -incrontabs.each do |user,lines| +incrontabs.each do |user, lines| file "/var/spool/incron/#{user}" do owner user group "incron"