passwords = data_bag_item("stateofthemap", "passwords")
+git "/srv/stateofthemap.org" do
+ action :sync
+ repository "git://git.openstreetmap.org/stateofthemap.git"
+ revision "chooser"
+ user "root"
+ group "root"
+end
+
+apache_site "stateofthemap.org" do
+ template "apache.erb"
+ directory "/srv/stateofthemap.org"
+end
+
directory "/srv/2007.stateofthemap.org" do
owner "wordpress"
group "wordpress"
end
wordpress_site "2016.stateofthemap.org" do
- aliases ["2016.stateofthemap.com",
- "www.stateofthemap.org", "stateofthemap.org",
- "www.stateofthemap.com", "stateofthemap.com"]
+ aliases "2016.stateofthemap.com"
directory "/srv/2016.stateofthemap.org/wp"
ssl_enabled true
database_name "sotm2016"