Modernise more LWRPs
[chef.git] / cookbooks / imagery / resources / site.rb
index 155a43f42cdadc3a56fc2a996fdb36daf34a9b2c..d159a7ac36b1c00e4774571fc8b4a790181806ab 100644 (file)
@@ -100,7 +100,7 @@ action :create do
   end
 
   nginx_site new_resource.site do
-    template "nginx_imagery.conf.erb"
+    template_source "nginx_imagery.conf.erb"
     directory "/srv/imagery/#{new_resource.site}"
     restart_nginx false
     variables new_resource.to_hash.merge(:resolvers => resolvers)