Add append_if_no_such_line compatablity define

This commit is contained in:
David Schmitt 2009-07-13 10:52:34 +02:00
parent de7690c4e7
commit 6e9ef2d08e

View file

@ -0,0 +1,14 @@
#
# This define is only for "CFEngine compatability". It is only a light
# wrapper around the "line" define, which is equally dangerous, but at
# least named according to a proper resource model.
#
define append_if_no_such_line($file, $line) {
line {
$name:
ensure => present,
file => $file,
line => $line;
}
}