From: intrigeri Date: Wed, 15 Dec 2010 09:44:14 +0000 (+0100) Subject: Use line define instead of append_if_no_such_line. X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=a084ac642c4ee7258356dc108acdcc4bfe614d49;p=puppet-apt.git Use line define instead of append_if_no_such_line. The latter is only a wrapper around the former and it seems we want to remove the latter from our shared common module. --- diff --git a/manifests/dselect.pp b/manifests/dselect.pp index 45a5ddc..44f0e19 100644 --- a/manifests/dselect.pp +++ b/manifests/dselect.pp @@ -1,7 +1,7 @@ class apt::dselect { # suppress annoying help texts of dselect - append_if_no_such_line { dselect_expert: + line { dselect_expert: file => "/etc/dpkg/dselect.cfg", line => "expert", }