diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2010-09-10 16:32:05 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2010-09-10 16:32:05 -0300 |
commit | 4e7ad7b401bef1cc6df8f6089c60254ab681ec53 (patch) | |
tree | 104f92168d33dc4cff4a646a0754e7992854ba28 /manifests | |
parent | 57b0cf9b40879b0a9b8179eb8b9803614403e409 (diff) | |
download | puppet-virtual-4e7ad7b401bef1cc6df8f6089c60254ab681ec53.tar.gz puppet-virtual-4e7ad7b401bef1cc6df8f6089c60254ab681ec53.tar.bz2 |
Minor fixes
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/vserver.pp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/vserver.pp b/manifests/vserver.pp index 8f704aa..0848b48 100644 --- a/manifests/vserver.pp +++ b/manifests/vserver.pp @@ -518,13 +518,13 @@ define vs_cflags($vserver, $flag, $ensure = present) { case $ensure { present: { - exec { "vattribute-${vserver}-${flag}" + exec { "vattribute-${vserver}-${flag}": command => "vattribute --set --xid `cat /etc/vservers/$vserver/context` --flag ${flag}", refreshonly => true, require => exec["vs_create_${vserver}"], } default: { - exec { "vattribute-${vserver}-${flag}" + exec { "vattribute-${vserver}-${flag}": command => "vattribute --set --xid `cat /etc/vservers/$vserver/context` --flag ~${flag}", refreshonly => true, require => exec["vs_create_${vserver}"], |