puppetlabs-stdlib/lib/puppet
Johnson Earls 7e408ca797 [MODULES-2370] file_line.rb: Fix line attribute validation
`file_line` type: During validation, do not require `line` attribute if:
* `ensure` is `absent`,
* `match` is not empty,
* and `match_for_absence` is `true`.

Also update `spec` tests to reflect this.
2016-03-28 21:26:01 +00:00
..
functions (MODULES-2516) Adds an is_a() function 2015-09-14 18:26:25 +01:00
parser/functions improve suffix function to support the same feature set as prefix 2016-03-22 16:24:09 +01:00
provider/file_line allow match parameter to influence ensure => absent behavior. 2015-08-06 13:44:32 -07:00
type [MODULES-2370] file_line.rb: Fix line attribute validation 2016-03-28 21:26:01 +00:00