]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/memcached/recipes/default.rb
Modernise more LWRPs
[chef.git] / cookbooks / memcached / recipes / default.rb
index 875985733e13158db221bb5be2a9d1ec2e76881a..93cbde312284084c63ad3f31a46bf1ddcdaced02 100644 (file)
@@ -28,15 +28,15 @@ template "/etc/memcached.conf" do
   source "memcached.conf.erb"
   owner "root"
   group "root"
-  mode 0644
+  mode 0o644
   notifies :restart, "service[memcached]"
 end
 
 munin_plugin_conf "memcached_multi" do
-  template "munin.erb"
+  template_source "munin.erb"
 end
 
-%w(bytes commands conns evictions items memory).each do |stat|
+%w[bytes commands conns evictions items memory].each do |stat|
   munin_plugin "memcached_multi_#{stat}" do
     target "memcached_multi_"
   end