aboutsummaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
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 7d68303..695c193 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',
@@ -21,8 +19,7 @@ class apt {
include lsb
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"),
@@ -32,13 +29,13 @@ class apt {
}
# 01autoremove already present by default
- 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"]