X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/d330095e33c7bf55c3c7865b632837178bbc896c..45dde9418dd342bb1a632d82559201c0b3becf1a:/cookbooks/tilecache/recipes/default.rb diff --git a/cookbooks/tilecache/recipes/default.rb b/cookbooks/tilecache/recipes/default.rb index 250edef48..f3b8382fb 100644 --- a/cookbooks/tilecache/recipes/default.rb +++ b/cookbooks/tilecache/recipes/default.rb @@ -1,8 +1,8 @@ # -# Cookbook Name:: tilecache +# Cookbook:: tilecache # Recipe:: default # -# Copyright 2011, OpenStreetMap Foundation +# Copyright:: 2011, OpenStreetMap Foundation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -77,6 +77,8 @@ squid_fragment "tilecache" do variables :caches => tilecaches, :renders => tilerenders end +package "rsync" + template "/etc/logrotate.d/squid" do source "logrotate.squid.erb" owner "root" @@ -113,7 +115,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