X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/9932bb5bbb698b7888da25c46774bb0e57838ba9..6922bbdb6fbb5c8af223c1117d6d7e0b2d41f0ad:/cookbooks/munin/recipes/default.rb diff --git a/cookbooks/munin/recipes/default.rb b/cookbooks/munin/recipes/default.rb index c01d84130..677d79d5e 100644 --- a/cookbooks/munin/recipes/default.rb +++ b/cookbooks/munin/recipes/default.rb @@ -17,8 +17,6 @@ # limitations under the License. # -include_recipe "networking" - package "munin-node" service "munin-node" do @@ -51,7 +49,7 @@ template "/etc/munin/munin-node.conf" do source "munin-node.conf.erb" owner "root" group "root" - mode 0644 + mode 0o644 variables :servers => servers notifies :restart, "service[munin-node]" end @@ -60,10 +58,10 @@ remote_directory "/usr/local/share/munin/plugins" do source "plugins" owner "root" group "root" - mode 0755 + mode 0o755 files_owner "root" files_group "root" - files_mode 0755 + files_mode 0o755 purge true end @@ -71,10 +69,10 @@ remote_directory "/etc/munin/plugin-conf.d" do source "plugin-conf.d" owner "root" group "munin" - mode 0750 + mode 0o750 files_owner "root" files_group "root" - files_mode 0644 + files_mode 0o644 purge false notifies :restart, "service[munin-node]" end