aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2015-02-28 12:34:54 +0000
committerintrigeri <intrigeri@boum.org>2015-02-28 12:34:54 +0000
commit31f8661eea49b05f32ccca4ad3d628548ba54b77 (patch)
tree93020168f8979b317c3a7c93e2b8ec154078385a /manifests
parent7c55bee06ab952c914b3a367f495e36a2539807f (diff)
parent8ed07cac2f084bfe542f4978daa783aedd7e79b4 (diff)
downloadpuppet-apt-31f8661eea49b05f32ccca4ad3d628548ba54b77.tar.gz
puppet-apt-31f8661eea49b05f32ccca4ad3d628548ba54b77.tar.bz2
Merge branch 'master' into 'master'
Merge with cmaisonnneuve and immerda See merge request !4
Diffstat (limited to 'manifests')
-rw-r--r--manifests/dselect.pp9
-rw-r--r--manifests/init.pp3
2 files changed, 6 insertions, 6 deletions
diff --git a/manifests/dselect.pp b/manifests/dselect.pp
index 6feeb9f..2b99a43 100644
--- a/manifests/dselect.pp
+++ b/manifests/dselect.pp
@@ -1,9 +1,10 @@
+# manage dselect, like
+# suppressing the annoying help texts
class apt::dselect {
- # suppress annoying help texts of dselect
- line { 'dselect_expert':
- file => '/etc/dpkg/dselect.cfg',
- line => 'expert',
+ file_line { 'dselect_expert':
+ path => '/etc/dpkg/dselect.cfg',
+ line => 'expert',
}
package { 'dselect': ensure => installed }
diff --git a/manifests/init.pp b/manifests/init.pp
index 2814013..0fb4f1b 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -113,9 +113,8 @@ class apt(
# backports uses the normal archive key now
package { 'debian-backports-keyring': ensure => absent }
- include common::moduledir
+ common::module_dir { 'apt': }
$apt_base_dir = "${common::moduledir::module_dir_path}/apt"
- modules_dir { 'apt': }
if $custom_key_dir {
file { "${apt_base_dir}/keys.d":