diff options
author | Thomas Bellman <bellman@nsc.liu.se> | 2009-07-31 18:13:44 +0200 |
---|---|---|
committer | James Turnbull <james@lovedthanlost.net> | 2009-09-15 06:49:55 +1000 |
commit | 630407d527905a9c874ae4b32a62849fdf6864b7 (patch) | |
tree | 8591dbea6c654b952edbb5e83f72cf335879e18d /lib/puppet/parser/files.rb | |
parent | a45c4354b9ed8deaeb3173a495f06602472faebe (diff) | |
download | puppet-630407d527905a9c874ae4b32a62849fdf6864b7.tar.gz puppet-630407d527905a9c874ae4b32a62849fdf6864b7.tar.xz puppet-630407d527905a9c874ae4b32a62849fdf6864b7.zip |
Make regsubst() function operate on arrays (feature #2491).
Allow the first argument to the regsubst() function be an array,
and perform regexp replacement on each element of the array in
that case.
This patch also adds more error checking to give better error
messages to the user when given bad parameters.
Signed-off-by: Thomas Bellman <bellman@nsc.liu.se>
Diffstat (limited to 'lib/puppet/parser/files.rb')
0 files changed, 0 insertions, 0 deletions