aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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}"],
}
}
}