diff options
author | Adrien Thebo <git@somethingsinistral.net> | 2013-07-11 16:26:45 -0700 |
---|---|---|
committer | Adrien Thebo <git@somethingsinistral.net> | 2013-07-11 16:26:45 -0700 |
commit | e0d4588bd2470109bd1eea4e597f1d205bf01b52 (patch) | |
tree | 07e1aae2e2028fd0b0d50f999a5cab3ddf02704c /lib/puppet/type | |
parent | 4d2558f383e18bbe322dd0feb073555491216ab4 (diff) | |
parent | 964a9ad6193b0dd243a44ddae1509655fc9e9fb8 (diff) | |
download | puppet-stdlib-e0d4588bd2470109bd1eea4e597f1d205bf01b52.tar.gz puppet-stdlib-e0d4588bd2470109bd1eea4e597f1d205bf01b52.tar.bz2 |
Merge branch 'pull-163'
This closes GH-163
Diffstat (limited to 'lib/puppet/type')
-rw-r--r-- | lib/puppet/type/file_line.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/puppet/type/file_line.rb b/lib/puppet/type/file_line.rb index f71a4bc..14946bb 100644 --- a/lib/puppet/type/file_line.rb +++ b/lib/puppet/type/file_line.rb @@ -37,6 +37,11 @@ Puppet::Type.newtype(:file_line) do 'if a match is found, we replace that line rather than adding a new line.' end + newparam(:multiple) do + desc 'An optional value to determine if match can change multiple lines.' + newvalues(true, false) + end + newparam(:line) do desc 'The line to be appended to the file located by the path parameter.' end |