aboutsummaryrefslogtreecommitdiff
path: root/manifests/vserver.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/vserver.pp')
-rw-r--r--manifests/vserver.pp4
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}"],