diff options
author | drebs <drebs@riseup.net> | 2010-10-02 19:21:03 -0300 |
---|---|---|
committer | drebs <drebs@riseup.net> | 2010-10-02 19:21:03 -0300 |
commit | 5d15de1159afdd20e4c8c8106ae4c25bf1083b11 (patch) | |
tree | 9442b395bed33bd5b5f9baaa12f718c2381f8d60 | |
parent | aa4e361f1b58f3072584ffd2a161132041e70c0b (diff) | |
download | puppet-virtual-5d15de1159afdd20e4c8c8106ae4c25bf1083b11.tar.gz puppet-virtual-5d15de1159afdd20e4c8c8106ae4c25bf1083b11.tar.bz2 |
fixing virt_mem cflag
-rw-r--r-- | manifests/vserver.pp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/manifests/vserver.pp b/manifests/vserver.pp index 6297234..33a5557 100644 --- a/manifests/vserver.pp +++ b/manifests/vserver.pp @@ -172,10 +172,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 => Exec["vs_create_${vs_name}"], + + vs_cflags { "${vs_name}-virt_mem": + vserver => $vs_name, + flag => "virt_mem", + ensure => $ensure, } } } |