]> gitweb.fluxo.info Git - puppet-stdlib.git/commit
(#21416) Allow file_line to match multiple lines
authorAlex O'Rielly <aorielly@gmail.com>
Fri, 21 Jun 2013 22:33:44 +0000 (17:33 -0500)
committerAdrien Thebo <git@somethingsinistral.net>
Thu, 11 Jul 2013 23:25:56 +0000 (16:25 -0700)
commit964a9ad6193b0dd243a44ddae1509655fc9e9fb8
tree415b40d4bcdf9ffca0513154ed3ffd454107da91
parentca7633c0e4830edb0dab4dc31609086eb7edba67
(#21416) Allow file_line to match multiple lines

Without this commit the file_line type will outright fail if multiple
lines match the given regex. This commit allows the file_line type and
provider to optionally match and modify all matching lines.

Changeset rebased into a single commit by Adrien Thebo <adrien@puppetlabs.com>
lib/puppet/provider/file_line/ruby.rb
lib/puppet/type/file_line.rb
spec/unit/puppet/provider/file_line/ruby_spec.rb