aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/vserver.pp9
1 files changed, 7 insertions, 2 deletions
diff --git a/manifests/vserver.pp b/manifests/vserver.pp
index 26989b8..fdf6a21 100644
--- a/manifests/vserver.pp
+++ b/manifests/vserver.pp
@@ -13,9 +13,14 @@ class vserver::host {
}
file {
+ "/etc/vservers":
+ ensure => directory,
+ require => Package["util-vserver"];
+
"/etc/vservers/local-interfaces/":
- ensure => directory,
- mode => 0755, owner => root, group => root;
+ ensure => directory,
+ mode => 0755, owner => root, group => root,
+ require => File["/etc/vservers"];
}
}