From 9ea9aee7f9fa1fb3c68cf32aedea233f4d7c8f81 Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Fri, 11 Mar 2022 23:29:04 +0000 Subject: [PATCH] community: fix order of triggers, data before web --- cookbooks/community/recipes/default.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/cookbooks/community/recipes/default.rb b/cookbooks/community/recipes/default.rb index 35dec9156..23b888af0 100644 --- a/cookbooks/community/recipes/default.rb +++ b/cookbooks/community/recipes/default.rb @@ -25,11 +25,6 @@ include_recipe "geoipupdate" passwords = data_bag_item("community", "passwords") license_keys = data_bag_item("geoipupdate", "license-keys") -ssl_certificate "community.openstreetmap.org" do - domains ["community.openstreetmap.org", "community.osm.org"] - notifies :run, "execute[discourse_container_web_only_rebuild]" -end - directory "/srv/community.openstreetmap.org" do owner "root" group "root" @@ -89,6 +84,11 @@ execute "discourse_container_data_rebuild" do group "root" end +ssl_certificate "community.openstreetmap.org" do + domains ["community.openstreetmap.org", "community.osm.org"] + notifies :run, "execute[discourse_container_web_only_rebuild]" +end + execute "discourse_container_web_only_rebuild" do action :nothing command "./launcher rebuild web_only" -- 2.45.1