summaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2010-11-21 16:41:56 +0100
committerintrigeri <intrigeri@boum.org>2010-11-21 16:41:56 +0100
commitf22861e820dc2c7f638561a2704dff19810daa66 (patch)
treef73f4192205053459f7da4c94532a6bb5b21c726 /manifests/init.pp
parent71d42350d1edb643a20e651a6c4ab965e6903305 (diff)
parent27d5808299045ebd6f428e7d8131d11d9ab37712 (diff)
Merge commit '27d5808299045ebd6f428e7d8131d11d9ab37712'.
One more painless merge commit. Conflicts: manifests/init.pp
Diffstat (limited to 'manifests/init.pp')
-rw-r--r--manifests/init.pp9
1 files changed, 3 insertions, 6 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 6938c2c..28fea99 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -5,8 +5,6 @@
class apt {
- import "custom_sources.pp"
-
# See README
$real_apt_clean = $apt_clean ? {
'' => 'auto',
@@ -86,8 +84,7 @@ class apt {
config_file {
# include main, security and backports
- # additional sources should be included via the custom_sources_template
- # define
+ # additional sources should be included via the apt::sources_list define
"/etc/apt/sources.list":
content => $custom_sources_list ? {
'' => template( "apt/$operatingsystem/sources.list.erb"),
@@ -96,13 +93,13 @@ class apt {
require => Package['lsb'];
}
- apt_conf_snippet{ "02show_upgraded":
+ apt_conf { "02show_upgraded":
source => ["puppet:///modules/site-apt/${fqdn}/02show_upgraded",
"puppet:///modules/site-apt/02show_upgraded",
"puppet:///modules/apt/02show_upgraded"]
}
- apt_conf_snippet{ "03clean":
+ apt_conf { "03clean":
source => ["puppet:///modules/site-apt/${fqdn}/03clean",
"puppet:///modules/site-apt/03clean",
"puppet:///modules/apt/03clean"]