X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/e75a75dcec6ef6fcb91f6c1b229bb6cd907ce2f6..41b1edf21c531ee0def59463c5a415af24875d30:/cookbooks/chef/recipes/server.rb diff --git a/cookbooks/chef/recipes/server.rb b/cookbooks/chef/recipes/server.rb index 2ebf64f72..ee27718f9 100644 --- a/cookbooks/chef/recipes/server.rb +++ b/cookbooks/chef/recipes/server.rb @@ -17,7 +17,7 @@ # limitations under the License. # -include_recipe "apache::ssl" +include_recipe "apache" # chef_package = "chef-server-core_#{node[:chef][:server][:version]}_amd64.deb" # @@ -73,6 +73,7 @@ end service "chef-server" do action [:enable, :start] + subscribes :restart, "systemd_service[chef-server]" end apache_module "alias" @@ -80,7 +81,6 @@ apache_module "proxy_http" ssl_certificate "chef.openstreetmap.org" do domains ["chef.openstreetmap.org", "chef.osm.org"] - fallback_certificate "openstreetmap" notifies :reload, "service[apache2]" end