From 62f4491bd2cc48e308384333d5fb36ca745f1686 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 12 Sep 2015 13:18:10 -0300 Subject: Qualify vattribute execution --- manifests/vserver/cflags.pp | 4 ++-- 1 file 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}", -- cgit v1.2.3