From 0f0db94b592e014c61c80b1724000e3f2005117f Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 16 Jun 2013 22:00:29 -0300 Subject: Adding nodo::subsystem::apt::include_sid config --- manifests/subsystem/apt.pp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'manifests/subsystem') 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, } -- cgit v1.2.3