aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authordrebs <drebs@riseup.net>2010-03-15 16:36:58 -0300
committerdrebs <drebs@riseup.net>2010-03-15 16:36:58 -0300
commitb9f9616f43fa277291916e5bc4e2ef2597138a4f (patch)
treef1dcee6c3cb5fca57825a73abdab645404f73dcf /manifests
parentc209466c4d4ae022591b091d766f296f47fda0f2 (diff)
downloadpuppet-virtual-b9f9616f43fa277291916e5bc4e2ef2597138a4f.tar.gz
puppet-virtual-b9f9616f43fa277291916e5bc4e2ef2597138a4f.tar.bz2
Adding dependencies to memory limits statements.
Diffstat (limited to 'manifests')
-rw-r--r--manifests/vserver.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/vserver.pp b/manifests/vserver.pp
index 7a0db8e..89901a4 100644
--- a/manifests/vserver.pp
+++ b/manifests/vserver.pp
@@ -148,7 +148,7 @@ define vs_create($in_domain, $context, $legacy = false, $distro = 'etch',
file { "/etc/vservers/${vs_name}/rlimits":
ensure => directory,
mode => 0755, owner => root, group => root,
- require => File["/etc/vservers/${vs_name}"],
+ require => Exec["vs_create_${vs_name}"],
}
file { "/etc/vservers/${vs_name}/rlimits/rss.hard":
mode => 0644, owner => root, group => root,
@@ -163,7 +163,7 @@ define vs_create($in_domain, $context, $legacy = false, $distro = 'etch',
file { "/etc/vservers/${vs_name}/flags":
mode => 0644, owner => root, group => root,
content => template("virtual/flags.erb"),
- require => File["/etc/vservers/${vs_name}"],
+ require => Exec["vs_create_${vs_name}"],
}
}
}