diff options
author | Jesse Luehrs <doy@tozt.net> | 2018-10-20 15:03:39 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2018-10-20 15:03:39 -0400 |
commit | ad497d5cf936a8673fc900dc7e21021176605402 (patch) | |
tree | eca09e53788fd76e058f12b1f139741762850157 /mail | |
parent | 265671289c45c5cac267f1100f6e92f92422bfea (diff) | |
download | puppet-tozt-ad497d5cf936a8673fc900dc7e21021176605402.tar.gz puppet-tozt-ad497d5cf936a8673fc900dc7e21021176605402.zip |
sigh, paths
Diffstat (limited to 'mail')
-rw-r--r-- | mail/mail/manifests/persistent.pp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/mail/manifests/persistent.pp b/mail/mail/manifests/persistent.pp index db6adea..3dfafb6 100644 --- a/mail/mail/manifests/persistent.pp +++ b/mail/mail/manifests/persistent.pp @@ -8,13 +8,13 @@ class mail::persistent { exec { "populate fstab": provider => shell, command => "echo '${fstab_line}' >> /etc/fstab", - unless => "/usr/bin/grep -qF '${fstab_line}' /etc/fstab", + unless => "grep -qF '${fstab_line}' /etc/fstab", require => File["/mailu"]; } exec { "mount /mailu": provider => shell, - command => "/usr/bin/mount /mailu", + command => "mount /mailu", unless => "grep ' /mailu ' /proc/mounts", require => [ File["/mailu"], |