X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/a68415b8f2bf106b6ea5948b0605c897b516ef4f..32a423888e0d6b5254c55e4faf418b31749dc69e:/cookbooks/git/recipes/web.rb diff --git a/cookbooks/git/recipes/web.rb b/cookbooks/git/recipes/web.rb index 5a59e1c4b..09954bf1d 100644 --- a/cookbooks/git/recipes/web.rb +++ b/cookbooks/git/recipes/web.rb @@ -17,7 +17,7 @@ # limitations under the License. # -include_recipe "apache::ssl" +include_recipe "apache" package "gitweb" @@ -32,6 +32,11 @@ template "/etc/gitweb.conf" do mode 0o644 end +ssl_certificate node[:git][:host] do + domains node[:git][:host] + notifies :reload, "service[apache2]" +end + apache_site node[:git][:host] do template "apache.erb" directory git_directory