X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/a68415b8f2bf106b6ea5948b0605c897b516ef4f..23b449a94ef4ffc4746775f6a6d6b88c8a1c46c9:/cookbooks/git/recipes/web.rb?ds=sidebyside 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