aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-09-15 17:41:53 -0300
committerSilvio Rhatto <rhatto@riseup.net>2010-09-15 17:41:53 -0300
commitaa4e361f1b58f3072584ffd2a161132041e70c0b (patch)
tree78c5475d041cab0365e5fbae033763932a44b610 /manifests
parentf03bf64d2dd36fd379d61e6f3a990095c13e8cfd (diff)
downloadpuppet-virtual-aa4e361f1b58f3072584ffd2a161132041e70c0b.tar.gz
puppet-virtual-aa4e361f1b58f3072584ffd2a161132041e70c0b.tar.bz2
Fixing deprecation
Diffstat (limited to 'manifests')
-rw-r--r--manifests/vserver.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/vserver.pp b/manifests/vserver.pp
index ee5b31f..6297234 100644
--- a/manifests/vserver.pp
+++ b/manifests/vserver.pp
@@ -599,14 +599,14 @@ define vs_cflags($vserver, $flag, $ensure = present) {
exec { "vattribute-${vserver}-${flag}":
command => "vattribute --set --xid `cat /etc/vservers/$vserver/context` --flag ${flag}",
refreshonly => true,
- require => exec["vs_create_${vserver}"],
+ require => Exec["vs_create_${vserver}"],
}
}
default: {
exec { "vattribute-${vserver}-${flag}":
command => "vattribute --set --xid `cat /etc/vservers/$vserver/context` --flag ~${flag}",
refreshonly => true,
- require => exec["vs_create_${vserver}"],
+ require => Exec["vs_create_${vserver}"],
}
}
}