aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2008-10-28 16:32:46 -0400
committerMicah Anderson <micah@riseup.net>2008-10-28 16:32:46 -0400
commit85a25744668031d15f3e89f5da351bf3878e81f0 (patch)
treebe92962bbc4506d2a3b5a8a1868f54ed938209c3 /manifests
parent810a148152a2ebfb8643969c2dd340eed5600ecb (diff)
downloadpuppet-virtual-85a25744668031d15f3e89f5da351bf3878e81f0.tar.gz
puppet-virtual-85a25744668031d15f3e89f5da351bf3878e81f0.tar.bz2
add the directory /etc/vservers, and the dependencies necessary for it to exist, and for other things that need it to exist
Diffstat (limited to 'manifests')
-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"];
}
}