remove delete_lines, as this define is obsolete
authormh <mh@immerda.ch>
Thu, 14 Apr 2011 19:10:09 +0000 (21:10 +0200)
committermh <mh@immerda.ch>
Thu, 14 Apr 2011 19:10:09 +0000 (21:10 +0200)
manifests/defines/delete_lines.pp [deleted file]

diff --git a/manifests/defines/delete_lines.pp b/manifests/defines/delete_lines.pp
deleted file mode 100644 (file)
index 28d2362..0000000
+++ /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'",
-   }
-}