From 9b18a2465c8f2717c94dfffbfb83fafccedc9dd1 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Wed, 13 Jul 2011 17:45:08 -0300 Subject: Using line instead of delete_lines --- manifests/vserver.pp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/manifests/vserver.pp b/manifests/vserver.pp index ec9885a..d73d2f6 100644 --- a/manifests/vserver.pp +++ b/manifests/vserver.pp @@ -58,9 +58,10 @@ class vserver::host { } # remove dummy interfaces on the host - delete_lines { modules_dummy: - file => "/etc/modules", - pattern => "^dummy", + line { modules_dummy: + file => "/etc/modules", + line => "^dummy", + ensure => absent, } # Remove these dummy interfaces, they are annoying and we dont need them -- cgit v1.2.3