X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/32a423888e0d6b5254c55e4faf418b31749dc69e..6d0fd628cfdf5b2e32c656b78ece007752c522f2:/cookbooks/git/recipes/web.rb diff --git a/cookbooks/git/recipes/web.rb b/cookbooks/git/recipes/web.rb index 09954bf1d..8eb83bf15 100644 --- a/cookbooks/git/recipes/web.rb +++ b/cookbooks/git/recipes/web.rb @@ -33,13 +33,14 @@ template "/etc/gitweb.conf" do end ssl_certificate node[:git][:host] do - domains node[:git][:host] + domains [node[:git][:host]] + Array(node[:git][:aliases]) notifies :reload, "service[apache2]" end apache_site node[:git][:host] do template "apache.erb" directory git_directory + variables :aliases => Array(node[:git][:aliases]) end template "#{git_directory}/robots.txt" do