diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2015-09-12 14:27:10 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2015-09-12 14:27:10 -0300 |
commit | 61e2ea8022db09965fd3e13304b3ad6e980278de (patch) | |
tree | 46ef92f5d19fb4fabf92db6b6c147fd557c6b8f3 /manifests/vserver.pp | |
parent | 62f4491bd2cc48e308384333d5fb36ca745f1686 (diff) | |
download | puppet-virtual-61e2ea8022db09965fd3e13304b3ad6e980278de.tar.gz puppet-virtual-61e2ea8022db09965fd3e13304b3ad6e980278de.tar.bz2 |
Qualify grep and switch to file_line
Diffstat (limited to 'manifests/vserver.pp')
-rw-r--r-- | manifests/vserver.pp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/vserver.pp b/manifests/vserver.pp index 991bebd..a650c35 100644 --- a/manifests/vserver.pp +++ b/manifests/vserver.pp @@ -64,7 +64,7 @@ define virtual::vserver( # we have to do it for each vserver, see # http://linux-vserver.org/Secure_chroot_Barrier#Solution:_Secure_Barrier exec { "/usr/sbin/setattr --barrier /etc/vservers/${vs_name}/vdir/../": - unless => "/usr/sbin/showattr /etc/vservers/${vs_name}/vdir/../ | grep -- '----Bui- /etc/vservers/${vs_name}/vdir/../$'", + unless => "/usr/sbin/showattr /etc/vservers/${vs_name}/vdir/../ | /bin/grep -- '----Bui- /etc/vservers/${vs_name}/vdir/../$'", require => Exec["vserver_instance_${vs_name}"], } |