X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/c6d8d8bbd34d2a5f950314bcdb8e822ccee2f206..afc3489f2735518178b6338bd0d47e438fbaf36e:/cookbooks/stateofthemap/recipes/default.rb diff --git a/cookbooks/stateofthemap/recipes/default.rb b/cookbooks/stateofthemap/recipes/default.rb index fae6b442d..40a29c298 100644 --- a/cookbooks/stateofthemap/recipes/default.rb +++ b/cookbooks/stateofthemap/recipes/default.rb @@ -21,6 +21,19 @@ include_recipe "wordpress" 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"