From 5b61dc78ec8857086174b99aa68ec7ee7f439e0b Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Fri, 18 Oct 2013 16:15:43 +0100 Subject: [PATCH 1/1] Add nginx stable repo + enable on tilecaches --- cookbooks/apt/recipes/default.rb | 6 ++++++ roles/tilecache.rb | 3 +++ 2 files changed, 9 insertions(+) diff --git a/cookbooks/apt/recipes/default.rb b/cookbooks/apt/recipes/default.rb index d3ec6e4c5..f11894a76 100644 --- a/cookbooks/apt/recipes/default.rb +++ b/cookbooks/apt/recipes/default.rb @@ -109,3 +109,9 @@ apt_source "mapnik-v210" do url "http://ppa.launchpad.net/mapnik/v2.1.0/ubuntu" key "5D50B6BA" end + +apt_source "nginx" do + url "http://nginx.org/packages/ubuntu" + key "7BD9BF62" +end + diff --git a/roles/tilecache.rb b/roles/tilecache.rb index daaaddf2c..bbabdea11 100644 --- a/roles/tilecache.rb +++ b/roles/tilecache.rb @@ -2,6 +2,9 @@ name "tilecache" description "Role applied to all tile cache servers" default_attributes( + :apt => { + :sources => [ "nginx" ] + }, :sysctl => { :network_conntrack_time_wait => { :comment => "Only track completed connections for 30 seconds", -- 2.39.5