aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2011-04-14 21:10:09 +0200
committermh <mh@immerda.ch>2011-04-14 21:10:09 +0200
commit521bad6447abecbd1780777bfc8c5adb80de42bb (patch)
tree6f73083086882b133646b9b031d09bde75652e8e
parent0961ad453b8befb4ea61bbd19f6ecea32b9619c9 (diff)
downloadpuppet-common-521bad6447abecbd1780777bfc8c5adb80de42bb.tar.gz
puppet-common-521bad6447abecbd1780777bfc8c5adb80de42bb.tar.bz2
remove delete_lines, as this define is obsolete
-rw-r--r--manifests/defines/delete_lines.pp5
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'",
- }
-}