diff options
Diffstat (limited to 'manifests/defines/line.pp')
-rw-r--r-- | manifests/defines/line.pp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/defines/line.pp b/manifests/defines/line.pp index e5b7fd5..7ca3191 100644 --- a/manifests/defines/line.pp +++ b/manifests/defines/line.pp @@ -33,8 +33,8 @@ define line($file, $line, $ensure = 'present') { } absent: { $subst_line = regsubst($line,'(/|\.)','\\\1','G') - exec { "/bin/sed -i '/${subst_line}/d' '${file}'": - onlyif => "/bin/grep -qFx '${line}' '${file}'" + exec { "sed -i '/${subst_line}/d' '${file}'": + onlyif => "grep -qFx '${line}' '${file}'" } } } |