aboutsummaryrefslogtreecommitdiff
path: root/manifests/defines/append_if_no_such_line.pp
blob: 6ccf9f9036240bbec97f68323dd3547ce10dd497 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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;
	}
}