]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/nominatim/recipes/default.rb
Use declare_resource to avoid need for template_source wart
[chef.git] / cookbooks / nominatim / recipes / default.rb
index 6141b65d9df82a93bd1d23843a7f0fe15db17977..05227bb465bcbca205711d54dcf04a829b82c14c 100644 (file)
@@ -371,7 +371,7 @@ template "/etc/logrotate.d/apache2" do
 end
 
 munin_plugin_conf "nominatim" do
 end
 
 munin_plugin_conf "nominatim" do
-  template_source "munin.erb"
+  template "munin.erb"
   variables :db => node[:nominatim][:dbname],
             :querylog => "#{node[:nominatim][:logdir]}/query.log"
 end
   variables :db => node[:nominatim][:dbname],
             :querylog => "#{node[:nominatim][:logdir]}/query.log"
 end