diff options
author | tkishel <tkishel@gmail.com> | 2017-07-13 15:16:04 -0700 |
---|---|---|
committer | tkishel <tkishel@gmail.com> | 2017-07-13 15:16:04 -0700 |
commit | 81d7d35fd78917ee1a5e66cb7459ea341bc452ea (patch) | |
tree | 2fb0c17db35201b46b831edc43652ea539fc1cad /spec/unit/puppet/type/file_line_spec.rb | |
parent | 54d4937c5b2d8918ee9f89f728c0c29e0d9e774f (diff) |
(MODULES-5003) file_line_does_not_change_multiple_lines_when_one_matches
The exists? method is called to determine the need to call the create and
destroy methods. When the ensure, match, and multiple attributes are defined,
the exists? method needs to return false unless all the lines that match the
match attribute equal the line attribute.
The first commit is minimal, and implements this change.
The second commit normalizes the code, which I needed for comprehension.
Diffstat (limited to 'spec/unit/puppet/type/file_line_spec.rb')
0 files changed, 0 insertions, 0 deletions