]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/tilecache/recipes/default.rb
Suppress some foodcritic warnings
[chef.git] / cookbooks / tilecache / recipes / default.rb
index 5c1cdba3c382df13993e58e70e704b7591a62192..3417708f33835623efb0846c6ec747b3b454e90b 100644 (file)
@@ -113,7 +113,11 @@ ssl_certificate "tile.openstreetmap.org" do
   domains ["tile.openstreetmap.org",
            "a.tile.openstreetmap.org",
            "b.tile.openstreetmap.org",
-           "c.tile.openstreetmap.org"]
+           "c.tile.openstreetmap.org",
+           "tile.osm.org",
+           "a.tile.osm.org",
+           "b.tile.osm.org",
+           "c.tile.osm.org"]
   notifies :restart, "service[nginx]"
 end
 
@@ -136,7 +140,3 @@ tilerenders.each do |render|
     conf_variables :host => render[:fqdn]
   end
 end
-
-Dir.glob("/var/log/nginx/access.log*") do |log|
-  File.unlink(log)
-end