aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystem/apt.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-06-16 22:00:29 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-06-16 22:00:29 -0300
commit0f0db94b592e014c61c80b1724000e3f2005117f (patch)
treea64ff76a79e5832d9c8da6b52264b167893dca24 /manifests/subsystem/apt.pp
parenta773a0b28cdbd7746bd0bc53b3b37c709a7e41ca (diff)
downloadpuppet-nodo-0f0db94b592e014c61c80b1724000e3f2005117f.tar.gz
puppet-nodo-0f0db94b592e014c61c80b1724000e3f2005117f.tar.bz2
Adding nodo::subsystem::apt::include_sid config
Diffstat (limited to 'manifests/subsystem/apt.pp')
-rw-r--r--manifests/subsystem/apt.pp10
1 files changed, 10 insertions, 0 deletions
diff --git a/manifests/subsystem/apt.pp b/manifests/subsystem/apt.pp
index a8f6d6c..c1ea090 100644
--- a/manifests/subsystem/apt.pp
+++ b/manifests/subsystem/apt.pp
@@ -42,6 +42,16 @@ class nodo::subsystem::apt {
}
}
+ $apt_include_sid = hiera('nodo::subsystem::apt::include_sid', false)
+
+ apt::sources_list { 'sid.list':
+ content => "deb http://http.debian.net/debian/ unstable main contrib non-free\n"
+ ensure => $apt_include_sid ? {
+ true => present,
+ default => absent,
+ },
+ }
+
package { 'apt-transport-https':
ensure => present,
}