puppetlabs-stdlib/spec
Raymond Maika 72089f3d13 (MODULES-2071) Refactor file_line provider to contain logic to handle parameter multiple in function handle_create_with_after
Without this, file_line resource without the `match` parameter but with the `after` param will throw an error if there are multiple matches for the after expression. This patch creates the handling for the `multiple` parameter in handle_create_with_after. This allows you to add a line after the `after` expression if it appears at multiple points in a file.

Updated reference to `file_line` in the README to reflect that the multiple parameter can be set when using `after` and/or `match` as the matching regex.
2015-05-29 00:30:44 -04:00
..
acceptance Fix acceptance tests for #405 2015-04-10 09:15:15 -07: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 Remove all the pops stuff 2015-05-12 15:03:27 -07:00
lib/puppet_spec spec_helper: set parser config if requested 2015-05-05 13:27:46 +01: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 (MODULES-2071) Refactor file_line provider to contain logic to handle parameter multiple in function handle_create_with_after 2015-05-29 00:30:44 -04:00
spec.opts Copied function test scaffolding from puppet. 2011-06-29 12:25:43 +01:00
spec_helper.rb spec_helper: Remove unneccesary stubbing 2015-05-05 13:30:57 +01:00
spec_helper_acceptance.rb spec_helper_acceptance: fix FUTURE_PARSER usage 2015-05-05 13:27:46 +01:00