puppetlabs-stdlib/lib/puppet
Stephen Benjamin 6eaa592cd8 (PUP-2571) add 'before' functionality to file_line
file_line supports adding lines after a match, but there are use cases when
having "before" would be useful. For example, in Debian-based OS's, the last
line of /etc/rc.local is "exit 0" it's an incredible pain to deal with
that scenario today.

This commit adds a 'before' parameter to the file_line type, and implements
it for the ruby provider.
2014-05-14 20:33:57 +02:00
..
parser/functions Fix the stdlib functions that fail tests 2014-05-08 14:55:23 -07:00
provider/file_line (PUP-2571) add 'before' functionality to file_line 2014-05-14 20:33:57 +02:00
type (PUP-2571) add 'before' functionality to file_line 2014-05-14 20:33:57 +02:00