puppetlabs-stdlib/spec
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
..
acceptance Prepare a 4.2.1 release. 2014-05-09 16:57:32 +02:00
classes Add mode +x to spec .rb files 2014-05-07 15:00:30 -07:00
fixtures/dscacheutil (PUP-1459) Add support for root_home on OS X 10.9 2014-01-22 22:54:34 -08:00
functions Move unit tests to spec/functions 2014-05-08 10:47:24 -07:00
lib/puppet_spec Add mode +x to spec .rb files 2014-05-07 15:00:30 -07:00
monkey_patches Add the missing shebangs and fix the wrong ones for rpmlint to stop complaining loudly 2014-05-07 11:49:25 +02:00
unit (PUP-2571) add 'before' functionality to file_line 2014-05-14 20:33:57 +02:00
spec.opts Copied function test scaffolding from puppet. 2011-06-29 12:25:43 +01:00
spec_helper.rb Add mode +x to spec .rb files 2014-05-07 15:00:30 -07:00
spec_helper_acceptance.rb Add mode +x to spec .rb files 2014-05-07 15:00:30 -07:00