X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/19f60d1fb981a1eedacab6c87fcbc11e90695f78..bf14fbaf495ff6aa406ad95aa39ac81fd00549e5:/cookbooks/git/recipes/web.rb diff --git a/cookbooks/git/recipes/web.rb b/cookbooks/git/recipes/web.rb index 74e722a0c..09954bf1d 100644 --- a/cookbooks/git/recipes/web.rb +++ b/cookbooks/git/recipes/web.rb @@ -29,7 +29,12 @@ template "/etc/gitweb.conf" do source "gitweb.conf.erb" owner "root" group "root" - mode 0644 + mode 0o644 +end + +ssl_certificate node[:git][:host] do + domains node[:git][:host] + notifies :reload, "service[apache2]" end apache_site node[:git][:host] do @@ -41,5 +46,5 @@ template "#{git_directory}/robots.txt" do source "robots.txt.erb" owner "root" group "root" - mode 0644 + mode 0o644 end