diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2010-01-17 13:34:33 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2010-01-17 13:34:33 -0200 |
commit | 3500757e75f2b92ff860f0b28b573f635c58125e (patch) | |
tree | 19015796f12206f6464e5d6d0d3a4aa493e294e0 | |
parent | 8d18a7c535d12ab4230b7ba6d3ec1ae7122d175f (diff) | |
download | puppet-virtual-3500757e75f2b92ff860f0b28b573f635c58125e.tar.gz puppet-virtual-3500757e75f2b92ff860f0b28b573f635c58125e.tar.bz2 |
Trying to fix resource dependency
-rw-r--r-- | manifests/vserver.pp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/manifests/vserver.pp b/manifests/vserver.pp index a8a5a02..5121b7b 100644 --- a/manifests/vserver.pp +++ b/manifests/vserver.pp @@ -230,7 +230,8 @@ define vserver($ensure, $context, $in_domain = '', $mark = '', $legacy = false, # we have to do it for each vserver, see # http://linux-vserver.org/Secure_chroot_Barrier#Solution:_Secure_Barrier exec { "setattr --barrier /etc/vservers/${vs_name}/vdir/../": - unless => "showattr /etc/vservers/${vs_name}/vdir/../ | grep -- '----Bui- /etc/vservers/${vs_name}/vdir/../$'" + unless => "showattr /etc/vservers/${vs_name}/vdir/../ | grep -- '----Bui- /etc/vservers/${vs_name}/vdir/../$'" + require => Exec["vs_create_${vs_name}"], } case $ensure { |