X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/a68415b8f2bf106b6ea5948b0605c897b516ef4f..204605749875101d3316aa94917d0a4b6c055fb3:/cookbooks/trac/recipes/default.rb diff --git a/cookbooks/trac/recipes/default.rb b/cookbooks/trac/recipes/default.rb index 6d42cb3a7..a26cc7d27 100644 --- a/cookbooks/trac/recipes/default.rb +++ b/cookbooks/trac/recipes/default.rb @@ -17,11 +17,13 @@ # limitations under the License. # -include_recipe "apache::ssl" +include_recipe "apache" -package "trac" -package "trac-git" -package "ruby" +package %w[ + trac + trac-git + ruby +] site_name = "trac.openstreetmap.org" site_directory = "/srv/#{site_name}" @@ -71,6 +73,11 @@ end apache_module "wsgi" +ssl_certificate "trac.openstreetmap.org" do + domains "trac.openstreetmap.org" + notifies :reload, "service[apache2]" +end + apache_site site_name do template "apache.erb" directory site_directory