X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/066c0bfda604f2a662fa1d4b1b5942fc598a05a4..e665e01edf3f6b1cd75583f9721fb35ab39afed6:/cookbooks/community/recipes/default.rb diff --git a/cookbooks/community/recipes/default.rb b/cookbooks/community/recipes/default.rb index 7c4d374a8..76b8a97b6 100644 --- a/cookbooks/community/recipes/default.rb +++ b/cookbooks/community/recipes/default.rb @@ -42,6 +42,19 @@ directory "/srv/community.openstreetmap.org/shared" do mode "755" end +directory "/srv/community.openstreetmap.org/files" do + owner "community" + group "community" + mode "755" +end + +template "/srv/community.openstreetmap.org/files/update-feeds.atom" do + source "update-feeds.atom.erb" + owner "community" + group "community" + mode "644" +end + git "/srv/community.openstreetmap.org/docker" do action :sync repository "https://github.com/discourse/discourse_docker.git" @@ -83,7 +96,7 @@ template "/srv/community.openstreetmap.org/docker/containers/mail-receiver.yml" end ssl_certificate "community.openstreetmap.org" do - domains ["community.openstreetmap.org", "community.osm.org", "communities.openstreetmap.org", "communities.osm.org", "c.openstreetmap.org", "c.osm.org"] + domains ["community.openstreetmap.org", "community.osm.org", "communities.openstreetmap.org", "communities.osm.org", "c.openstreetmap.org", "c.osm.org", "forum.openstreetmap.org", "forum.osm.org"] notifies :run, "notify_group[discourse_container_new_web_only]" notifies :run, "notify_group[discourse_container_new_mail_receiver]" end