diff options
Diffstat (limited to 'manifests/init.pp')
-rw-r--r-- | manifests/init.pp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index 028d828..ae645c6 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -123,6 +123,20 @@ class apt { ensure => latest, } + case $volatile_enabled { + true: { + config_file { "/etc/apt/sources.list.d/debian-volatile.list": + content => template("apt/sources.list.volatile.erb"), + require => Exec[assert_lsbdistcodename]; + } + } + default: { + config_file { "/etc/apt/sources.list.d/debian-volatile.list": + ensure => absent, + } + } + } + case $backports_enabled { true: { config_file { |