X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/deca3cd152bcfa1c6666b6702c5e0a0d33469f30..c4817c654797638bf16b54f4f9b69ed3715625cb:/cookbooks/otrs/recipes/default.rb diff --git a/cookbooks/otrs/recipes/default.rb b/cookbooks/otrs/recipes/default.rb index c1a027e56..946806ea4 100644 --- a/cookbooks/otrs/recipes/default.rb +++ b/cookbooks/otrs/recipes/default.rb @@ -19,7 +19,7 @@ include_recipe "tools" include_recipe "postgresql" -include_recipe "apache::ssl" +include_recipe "apache" passwords = data_bag_item("otrs", "passwords") @@ -139,6 +139,11 @@ Dir.glob("/opt/otrs/var/cron/*.dist") do |distname| end end +ssl_certificate site do + domains site + notifies :reload, "service[apache2]" +end + apache_site site do template "apache.erb" end