From 9f9ea1670bc319f8c5cecff0ae02b2d342615e62 Mon Sep 17 00:00:00 2001 From: Micah Anderson Date: Wed, 17 Apr 2013 11:24:54 -0400 Subject: rename fallback apt source list so it will be more obvious when it is paired with the primary.list --- puppet/modules/site_apt/manifests/init.pp | 4 ++-- puppet/modules/site_apt/templates/fallback.list | 3 --- puppet/modules/site_apt/templates/secondary.list | 3 +++ 3 files changed, 5 insertions(+), 5 deletions(-) delete mode 100644 puppet/modules/site_apt/templates/fallback.list create mode 100644 puppet/modules/site_apt/templates/secondary.list (limited to 'puppet') diff --git a/puppet/modules/site_apt/manifests/init.pp b/puppet/modules/site_apt/manifests/init.pp index de854d58..c5f37014 100644 --- a/puppet/modules/site_apt/manifests/init.pp +++ b/puppet/modules/site_apt/manifests/init.pp @@ -19,8 +19,8 @@ class site_apt { include ::apt::unattended_upgrades - apt::sources_list { 'fallback.list.disabled': - content => template('site_apt/fallback.list'); + apt::sources_list { 'secondary.list.disabled': + content => template('site_apt/secondary.list'); } } diff --git a/puppet/modules/site_apt/templates/fallback.list b/puppet/modules/site_apt/templates/fallback.list deleted file mode 100644 index 41334b0b..00000000 --- a/puppet/modules/site_apt/templates/fallback.list +++ /dev/null @@ -1,3 +0,0 @@ -# basic -deb http://ftp.debian.org/debian/ <%= lsbdistcodename %> main contrib non-free - diff --git a/puppet/modules/site_apt/templates/secondary.list b/puppet/modules/site_apt/templates/secondary.list new file mode 100644 index 00000000..41334b0b --- /dev/null +++ b/puppet/modules/site_apt/templates/secondary.list @@ -0,0 +1,3 @@ +# basic +deb http://ftp.debian.org/debian/ <%= lsbdistcodename %> main contrib non-free + -- cgit v1.2.3