summaryrefslogtreecommitdiff
path: root/manifests/dselect.pp
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2010-10-17 02:54:20 +0200
committerintrigeri <intrigeri@boum.org>2010-10-17 02:54:20 +0200
commit2d75cda2dbefb730777ab03c592f8cd58e30d617 (patch)
treef54c4bf9bac7155b32ddeba15f35ff5d09bfe847 /manifests/dselect.pp
parent7a0dc9a37a29f4cbdd44c660478932a57e7511db (diff)
Use append_if_no_such_line instead of line.
Diffstat (limited to 'manifests/dselect.pp')
-rw-r--r--manifests/dselect.pp3
1 files changed, 1 insertions, 2 deletions
diff --git a/manifests/dselect.pp b/manifests/dselect.pp
index fb138da..52c66cb 100644
--- a/manifests/dselect.pp
+++ b/manifests/dselect.pp
@@ -1,9 +1,8 @@
class apt::dselect {
# suppress annoying help texts of dselect
- line { dselect_expert:
+ append_if_no_such_line { dselect_expert:
file => "/etc/dpkg/dselect.cfg",
line => "expert",
- ensure => present,
}
package { dselect: ensure => installed }