puppetlabs-stdlib/lib/puppet
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
..
functions (MODULES-1473) Deprecate type() function for new parser 2015-01-07 16:40:06 -08:00
parser/functions range(): fix TypeError(can't convert nil into Integer) when using range syntax 2015-05-06 10:13:27 +01:00
provider/file_line (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
type Clarifying behaviour of attributes and adding an extra example. 2015-04-09 11:13:42 -07:00