aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2015-09-12 13:18:10 -0300
committerSilvio Rhatto <rhatto@riseup.net>2015-09-12 13:18:10 -0300
commit62f4491bd2cc48e308384333d5fb36ca745f1686 (patch)
tree978fda1652f98221557f3ff6dc0facd3044bc293
parenteb568976cbcc9c26c7251fc4d2d43bedc567a6f9 (diff)
downloadpuppet-virtual-62f4491bd2cc48e308384333d5fb36ca745f1686.tar.gz
puppet-virtual-62f4491bd2cc48e308384333d5fb36ca745f1686.tar.bz2
Qualify vattribute execution
-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}",