aboutsummaryrefslogtreecommitdiff
path: root/manifests/vserver.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/vserver.pp')
-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