aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-07-13 17:45:08 -0300
committerSilvio Rhatto <rhatto@riseup.net>2011-07-13 17:45:08 -0300
commit9b18a2465c8f2717c94dfffbfb83fafccedc9dd1 (patch)
treeab5d1e1be4177faf4062f86391bda243a5faf94a /manifests
parent6acb1c28f541d81992d390eeeb9bfa2630f0df8c (diff)
downloadpuppet-virtual-9b18a2465c8f2717c94dfffbfb83fafccedc9dd1.tar.gz
puppet-virtual-9b18a2465c8f2717c94dfffbfb83fafccedc9dd1.tar.bz2
Using line instead of delete_lines
Diffstat (limited to 'manifests')
-rw-r--r--manifests/vserver.pp7
1 files 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