From 099a059b844dcee1bed10a66a61b8cd938283270 Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Mon, 15 Sep 2014 22:33:30 +0100 Subject: [PATCH] WP plugin XML Sitemap Generator now internally handles sitemap.xml --- cookbooks/wordpress/definitions/wordpress_site.rb | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/cookbooks/wordpress/definitions/wordpress_site.rb b/cookbooks/wordpress/definitions/wordpress_site.rb index 1a3fa2423..8211f4cd0 100644 --- a/cookbooks/wordpress/definitions/wordpress_site.rb +++ b/cookbooks/wordpress/definitions/wordpress_site.rb @@ -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 -- 2.39.5