From 50bb4b8b4d3f71b2916acbbefca92df9fdc53e68 Mon Sep 17 00:00:00 2001 From: Micah Anderson Date: Wed, 30 Jan 2013 10:32:15 -0500 Subject: provide a fall-back apt.sources.d entry that is disabled by default (#1348) This file will have the .disabled removed by the apt wrapper when the apt-get update fails --- puppet/modules/site_apt/manifests/init.pp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'puppet/modules/site_apt/manifests') diff --git a/puppet/modules/site_apt/manifests/init.pp b/puppet/modules/site_apt/manifests/init.pp index 99bcce4f..beef6fa5 100644 --- a/puppet/modules/site_apt/manifests/init.pp +++ b/puppet/modules/site_apt/manifests/init.pp @@ -8,4 +8,9 @@ class site_apt { } include ::apt::unattended_upgrades + + apt::sources_list { 'fallback.list.disabled': + content => template('site_apt/fallback.list'); + } + } -- cgit v1.2.3