summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2010-10-06 12:09:38 +0200
committerintrigeri <intrigeri@boum.org>2010-10-06 12:09:38 +0200
commit50136de4209478cf3e266ea4fdc8b54928337a29 (patch)
treec466984ff9e42f440bd85b7b97f40595cd931102 /manifests
parentde94b807ee9495d63d1afe16579bd435826e20f0 (diff)
Add opt-in support for deb-src.
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp15
1 files changed, 10 insertions, 5 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index d79e79a..7f52a9c 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -11,16 +11,21 @@ class apt {
default => $apt_clean,
}
- package { apt:
- ensure => installed,
- require => undef,
- }
-
$use_volatile = $apt_use_volatile ? {
'' => false,
default => $apt_use_volatile,
}
+ $include_src = $apt_include_src ? {
+ '' => false,
+ default => $apt_include_src,
+ }
+
+ package { apt:
+ ensure => installed,
+ require => undef,
+ }
+
# init $release, $next_release, $codename, $next_codename
case $lsbdistcodename {
'': {