directory site_directory do
owner node[:wordpress][:user]
group node[:wordpress][:group]
- mode 0755
+ mode 0o755
end
subversion site_directory do
file "#{site_directory}/wp-config.php" do
owner node[:wordpress][:user]
group node[:wordpress][:group]
- mode 0644
+ mode 0o644
content wp_config
end
directory "#{site_directory}/wp-content/uploads" do
owner "www-data"
group "www-data"
- mode 0755
+ mode 0o755
end
file "#{site_directory}/sitemap.xml" do
cookbook "wordpress"
owner node[:wordpress][:user]
group node[:wordpress][:group]
- mode 0644
+ mode 0o644
backup false
end