summaryrefslogtreecommitdiffstats
path: root/lib/puppet/parser/files.rb
diff options
context:
space:
mode:
authorThomas Bellman <bellman@nsc.liu.se>2009-07-31 18:13:44 +0200
committerJames Turnbull <james@lovedthanlost.net>2009-09-15 06:49:55 +1000
commit630407d527905a9c874ae4b32a62849fdf6864b7 (patch)
tree8591dbea6c654b952edbb5e83f72cf335879e18d /lib/puppet/parser/files.rb
parenta45c4354b9ed8deaeb3173a495f06602472faebe (diff)
downloadpuppet-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