aboutsummaryrefslogtreecommitdiff
path: root/manifests/defines/delete_lines.pp
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2011-04-14 21:10:09 +0200
committerJerome Charaoui <jcharaoui@cmaisonneuve.qc.ca>2013-02-27 15:54:20 -0500
commitac5da1df281e636ecffe260b681e8119a1057e1d (patch)
tree6f73083086882b133646b9b031d09bde75652e8e /manifests/defines/delete_lines.pp
parent0961ad453b8befb4ea61bbd19f6ecea32b9619c9 (diff)
downloadpuppet-common-ac5da1df281e636ecffe260b681e8119a1057e1d.tar.gz
puppet-common-ac5da1df281e636ecffe260b681e8119a1057e1d.tar.bz2
remove delete_lines, as this define is obsolete
Diffstat (limited to 'manifests/defines/delete_lines.pp')
-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'",
- }
-}