summaryrefslogtreecommitdiff
path: root/puppet/modules
diff options
context:
space:
mode:
Diffstat (limited to 'puppet/modules')
-rw-r--r--puppet/modules/site_apt/manifests/init.pp12
1 files changed, 8 insertions, 4 deletions
diff --git a/puppet/modules/site_apt/manifests/init.pp b/puppet/modules/site_apt/manifests/init.pp
index 7e63eaf1..506591dc 100644
--- a/puppet/modules/site_apt/manifests/init.pp
+++ b/puppet/modules/site_apt/manifests/init.pp
@@ -1,12 +1,16 @@
class site_apt {
- $apt_config = hiera('apt')
- $apt_url = $apt_config['url']
+ $apt_config = hiera('apt')
+ $apt_url = $apt_config['url']
+ $apt_url_basic = $apt_url['basic']
+ $apt_url_security = $apt_url['security']
+ $apt_url_backports = $apt_url['backports']
class { 'apt':
custom_key_dir => 'puppet:///modules/site_apt/keys',
- debian_url => $apt_url,
- backports_url => $apt_url
+ debian_url => $apt_url_basic,
+ security_url => $apt_url_security,
+ backports_url => $apt_url_backports
}
# enable http://deb.leap.se debian package repository