passwords = data_bag_item("switch2osm", "passwords")
wordpress_site "switch2osm.org" do
- aliases "www.switch2osm.org", "switch2osm.com", "www.switch2osm.com"
+ aliases ["www.switch2osm.org", "switch2osm.com", "www.switch2osm.com"]
directory "/srv/switch2osm.org"
+ ssl_enabled true
database_name "switch2osm-blog"
database_user "switch2osm-user"
database_password passwords["switch2osm-user"]
source "backup.cron.erb"
owner "root"
group "root"
- mode 0750
+ mode 0o750
variables :passwords => passwords
end