+git "/srv/stateofthemap.org" do
+ action :sync
+ repository "git://git.openstreetmap.org/stateofthemap.git"
+ revision "chooser"
+ user "root"
+ group "root"
+end
+
+ssl_certificate "stateofthemap.org" do
+ domains ["stateofthemap.org", "www.stateofthemap.org",
+ "stateofthemap.com", "www.stateofthemap.com",
+ "sotm.org", "www.sotm.org"]
+ notifies :reload, "service[apache2]"
+end
+
+apache_site "stateofthemap.org" do
+ template "apache.erb"
+ directory "/srv/stateofthemap.org"
+end
+