diff options
author | Johnson Earls <johnson.earls@oracle.com> | 2016-03-28 20:59:27 +0000 |
---|---|---|
committer | Johnson Earls <johnson.earls@oracle.com> | 2016-03-28 21:26:01 +0000 |
commit | 7e408ca7970fd172822db02227935798f9ff282f (patch) | |
tree | e285363f922fc6b8f874249f3cbd8bf4c865f16e /lib/puppet/parser/functions/parsejson.rb | |
parent | b63849c7865e4191e9df5a7651c16c072facee3d (diff) |
[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.
Diffstat (limited to 'lib/puppet/parser/functions/parsejson.rb')
0 files changed, 0 insertions, 0 deletions