diff options
Diffstat (limited to 'manifests/defines')
-rw-r--r-- | manifests/defines/delete_lines.pp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/manifests/defines/delete_lines.pp b/manifests/defines/delete_lines.pp deleted file mode 100644 index 28d2362..0000000 --- a/manifests/defines/delete_lines.pp +++ /dev/null @@ -1,5 +0,0 @@ -define delete_lines($file, $pattern) { - exec { "/bin/sed -i -r -e '/$pattern/d' $file": - onlyif => "/bin/grep -E '$pattern' '$file'", - } -} |