#
include_recipe "git"
-include_recipe "apache"
+include_recipe "apache::ssl"
passwords = data_bag_item("dns", "passwords")
variables :zones => zones
end
+ssl_certificate "dns.openstreetmap.org" do
+ domains "dns.openstreetmap.org"
+ fallback_certificate "openstreetmap"
+ notifies :reload, "service[apache2]"
+end
+
apache_site "dns.openstreetmap.org" do
template "apache.erb"
directory "/srv/dns.openstreetmap.org"