From 4e7ad7b401bef1cc6df8f6089c60254ab681ec53 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 10 Sep 2010 16:32:05 -0300 Subject: Minor fixes --- manifests/vserver.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'manifests') 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}"], -- cgit v1.2.3