diff options
author | intrigeri <intrigeri@boum.org> | 2015-02-07 16:12:55 +0000 |
---|---|---|
committer | intrigeri <intrigeri@boum.org> | 2015-02-07 16:12:55 +0000 |
commit | 85c7554c4bb06130ab3e88170842dc1b2ddbb186 (patch) | |
tree | e972226a58071cb17c4ea46fc959a0077c2ca2eb /manifests | |
parent | 5a8d214529429b5dd898e0df29d69e0acf5271df (diff) | |
download | puppet-apt-85c7554c4bb06130ab3e88170842dc1b2ddbb186.tar.gz puppet-apt-85c7554c4bb06130ab3e88170842dc1b2ddbb186.tar.bz2 |
Add support for Squeeze LTS.
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/init.pp | 2 | ||||
-rw-r--r-- | manifests/params.pp | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index 7550aaa..2814013 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -5,12 +5,14 @@ class apt( $codename = $apt::params::codename, + $use_lts = $apt::params::use_lts, $use_volatile = $apt::params::use_volatile, $include_src = $apt::params::include_src, $use_next_release = $apt::params::use_next_release, $debian_url = $apt::params::debian_url, $security_url = $apt::params::security_url, $backports_url = $apt::params::backports_url, + $lts_url = $apt::params::lts_url, $volatile_url = $apt::params::volatile_url, $ubuntu_url = $apt::params::ubuntu_url, $repos = $apt::params::repos, diff --git a/manifests/params.pp b/manifests/params.pp index 12273ac..54fd13e 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -1,5 +1,6 @@ class apt::params () { $codename = $::lsbdistcodename + $use_lts = false $use_volatile = false $include_src = false $use_next_release = false @@ -9,6 +10,7 @@ class apt::params () { 'wheezy' => $debian_url, default => 'http://backports.debian.org/debian-backports/', } + $lts_url = $debian_url $volatile_url = 'http://volatile.debian.org/debian-volatile/' $ubuntu_url = 'http://archive.ubuntu.com/ubuntu' $repos = 'auto' |