diff options
author | Paul Lathrop <paul@tertiusfamily.net> | 2009-01-15 09:35:47 -0800 |
---|---|---|
committer | James Turnbull <james@lovedthanlost.net> | 2009-01-22 10:45:22 +1100 |
commit | 234a035b97287d8910ca00a58b70a06775818693 (patch) | |
tree | cc835eb913c05aed05048a761f2233f47667e9f1 /lib/puppet/reference/function.rb | |
parent | fb8f8cd14f2a4958505f27910ad1d2a368bb0967 (diff) | |
download | puppet-234a035b97287d8910ca00a58b70a06775818693.tar.gz puppet-234a035b97287d8910ca00a58b70a06775818693.tar.xz puppet-234a035b97287d8910ca00a58b70a06775818693.zip |
Fix #1560
Adds an rspec test which demonstrates #1560 and a custom 'process'
method for the aliases provider to fix it.
The default processing uses split() to break the line into records on
the separator, which breaks if records can contain the separator. The
custom method I've added uses a 'limited' split() to break the line on
the first separator only.
This commit fixes #1560
Signed-off-by: Paul Lathrop <paul@tertiusfamily.net>
Diffstat (limited to 'lib/puppet/reference/function.rb')
0 files changed, 0 insertions, 0 deletions