]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/memcached/recipes/default.rb
Modernise more LWRPs
[chef.git] / cookbooks / memcached / recipes / default.rb
index e96af7e35baafec9396ad890f489a9ce551d4ee5..93cbde312284084c63ad3f31a46bf1ddcdaced02 100644 (file)
@@ -33,10 +33,10 @@ template "/etc/memcached.conf" do
 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