X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/18e12b0e123fc3e5f344682f884feabc12da0f5a..64499e46eecd244b02e789288d11d409040917e2:/cookbooks/dns/recipes/default.rb diff --git a/cookbooks/dns/recipes/default.rb b/cookbooks/dns/recipes/default.rb index 8a1f42ea8..a78d1d5fc 100644 --- a/cookbooks/dns/recipes/default.rb +++ b/cookbooks/dns/recipes/default.rb @@ -73,13 +73,14 @@ template "/srv/dns.openstreetmap.org/html/index.html" do end ssl_certificate "dns.openstreetmap.org" do - domains "dns.openstreetmap.org" + domains ["dns.openstreetmap.org", "dns.osm.org"] notifies :reload, "service[apache2]" end apache_site "dns.openstreetmap.org" do template "apache.erb" directory "/srv/dns.openstreetmap.org" + variables :aliases => ["dns.osm.org"] end template "/usr/local/bin/dns-update" do