]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/blogs/recipes/default.rb
Avoid errors rotating logs on nodes where gpx-import is stopped
[chef.git] / cookbooks / blogs / recipes / default.rb
index f90c3ce5d4d07395308162aa7bc13feca4b995f8..faf12775c9bc848c1e63f823552b985784cbf1f3 100644 (file)
@@ -17,7 +17,7 @@
 # limitations under the License.
 #
 
-include_recipe "apache::ssl"
+include_recipe "apache"
 include_recipe "git"
 
 package "ruby"
@@ -59,6 +59,11 @@ execute "/srv/blogs.openstreetmap.org" do
   group "blogs"
 end
 
+ssl_certificate "blogs.openstreetmap.org" do
+  domains "blogs.openstreetmap.org"
+  notifies :reload, "service[apache2]"
+end
+
 apache_site "blogs.openstreetmap.org" do
   template "apache.erb"
   directory "/srv/blogs.openstreetmap.org/build"