diff options
Diffstat (limited to 'manifests/vserver.pp')
-rw-r--r-- | manifests/vserver.pp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/manifests/vserver.pp b/manifests/vserver.pp index 63053a3..7a0db8e 100644 --- a/manifests/vserver.pp +++ b/manifests/vserver.pp @@ -148,6 +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}"], } file { "/etc/vservers/${vs_name}/rlimits/rss.hard": mode => 0644, owner => root, group => root, @@ -159,6 +160,11 @@ define vs_create($in_domain, $context, $legacy = false, $distro = 'etch', content => template("virtual/rss.soft.erb"), require => File["/etc/vservers/${vs_name}/rlimits"], } + file { "/etc/vservers/${vs_name}/flags": + mode => 0644, owner => root, group => root, + content => template("virtual/flags.erb"), + require => File["/etc/vservers/${vs_name}"], + } } } } |