]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/trac/recipes/default.rb
Disable chef exception handler
[chef.git] / cookbooks / trac / recipes / default.rb
index 6d42cb3a79b33b363aff60561fa320e62d5f7064..a26cc7d27319efc27d9c2540bee6768e80893783 100644 (file)
 # 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