]> gitweb.fluxo.info Git - puppet-stdlib.git/commit
Remove line match validation
authorHunter Haugen <hunter@puppetlabs.com>
Tue, 16 Dec 2014 19:48:46 +0000 (11:48 -0800)
committerHunter Haugen <hunter@puppetlabs.com>
Tue, 16 Dec 2014 23:05:31 +0000 (15:05 -0800)
commitc6c203fca8da81fea96659bfe9618bb31965b837
tree18d801ab4b6bc82b28f0bef283e69fd9a450ddbb
parent1493b212f24ef704f63b90fd6592b61c36cb3210
Remove line match validation

The `match` attribute was validated to match `line`, except that in many
cases (even the example given in the docs) a user would want to match a
line entirely different from the new line.

See comments on the original commit
https://github.com/puppetlabs/puppetlabs-stdlib/commit/a06c0d8115892a74666676b50d4282df9850a119
and ask
https://ask.puppetlabs.com/question/14366/file_line-resource-match-problems/
for further examples of confusion.
CHANGELOG.md
lib/puppet/type/file_line.rb
spec/unit/puppet/type/file_line_spec.rb