diff options
-rw-r--r-- | puppet/modules/site_apt/manifests/init.pp | 5 | ||||
-rw-r--r-- | puppet/modules/site_apt/templates/fallback.list | 3 |
2 files changed, 8 insertions, 0 deletions
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'); + } + } diff --git a/puppet/modules/site_apt/templates/fallback.list b/puppet/modules/site_apt/templates/fallback.list new file mode 100644 index 00000000..fa6d041f --- /dev/null +++ b/puppet/modules/site_apt/templates/fallback.list @@ -0,0 +1,3 @@ +# basic +deb http://ftp.debian.org/debian/ <%= codename %> <%= repos %> + |