]> git.openstreetmap.org Git - chef.git/commitdiff
WP plugin XML Sitemap Generator now internally handles sitemap.xml
authorGrant Slater <git@firefishy.com>
Mon, 15 Sep 2014 21:33:30 +0000 (22:33 +0100)
committerGrant Slater <git@firefishy.com>
Mon, 15 Sep 2014 21:33:48 +0000 (22:33 +0100)
cookbooks/wordpress/definitions/wordpress_site.rb

index 1a3fa24235dd0a5258a5e0fe3bb288387f6785e3..8211f4cd0844a7e83e7c240eed2a9d15709729d6 100644 (file)
@@ -110,15 +110,11 @@ define :wordpress_site, :action => [ :create, :enable ] do
   end
 
   file "#{directory}/sitemap.xml" do
-    owner "www-data"
-    group "www-data"
-    mode 0644
+    action :delete
   end
 
   file "#{directory}/sitemap.xml.gz" do
-    owner "www-data"
-    group "www-data"
-    mode 0644
+    action :delete
   end
 
   cookbook_file "#{directory}/googlefac54c35e800caab.html" do