X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/6cce603b75b8ea9dc9a234f49427583abc9c0a1a..aeaa46f3071de018b5c5e0f5678cb5b4082e3ddc:/cookbooks/wordpress/resources/site.rb diff --git a/cookbooks/wordpress/resources/site.rb b/cookbooks/wordpress/resources/site.rb index 1f4e67cc0..2105101fc 100644 --- a/cookbooks/wordpress/resources/site.rb +++ b/cookbooks/wordpress/resources/site.rb @@ -58,7 +58,7 @@ action :create do declare_resource :directory, site_directory do owner node[:wordpress][:user] group node[:wordpress][:group] - mode 0o755 + mode "755" end subversion site_directory do @@ -100,14 +100,14 @@ action :create do file "#{site_directory}/wp-config.php" do owner node[:wordpress][:user] group node[:wordpress][:group] - mode 0o644 + mode "644" content wp_config end declare_resource :directory, "#{site_directory}/wp-content/uploads" do owner "www-data" group "www-data" - mode 0o755 + mode "755" end file "#{site_directory}/sitemap.xml" do @@ -122,7 +122,7 @@ action :create do cookbook "wordpress" owner node[:wordpress][:user] group node[:wordpress][:group] - mode 0o644 + mode "644" backup false end