aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/vserver/cflags.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/vserver/cflags.pp b/manifests/vserver/cflags.pp
index 43e7d2a..462c9e4 100644
--- a/manifests/vserver/cflags.pp
+++ b/manifests/vserver/cflags.pp
@@ -16,7 +16,7 @@ define virtual::vserver::cflags($vserver, $flag, $ensure = present) {
case $ensure {
present: {
exec { "/usr/sbin/vattribute-${vserver}-${flag}":
- command => "vattribute --set --xid `cat /etc/vservers/$vserver/context` --flag ${flag}",
+ command => "/usr/sbin/vattribute --set --xid `cat /etc/vservers/$vserver/context` --flag ${flag}",
refreshonly => true,
require => Exec["vserver_instance_${vserver}"],
alias => "vattribute-${vserver}-${flag}",
@@ -24,7 +24,7 @@ define virtual::vserver::cflags($vserver, $flag, $ensure = present) {
}
default: {
exec { "/usr/sbin/vattribute-${vserver}-${flag}":
- command => "vattribute --set --xid `cat /etc/vservers/$vserver/context` --flag ~${flag}",
+ command => "/usr/sbin/vattribute --set --xid `cat /etc/vservers/$vserver/context` --flag ~${flag}",
refreshonly => true,
require => Exec["vserver_instance_${vserver}"],
alias => "vattribute-${vserver}-${flag}",