projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update stdlib
[mirror/dsa-puppet.git]
/
3rdparty
/
modules
/
stdlib
/
lib
/
puppet
/
parser
/
functions
/
prefix.rb
diff --git
a/3rdparty/modules/stdlib/lib/puppet/parser/functions/prefix.rb
b/3rdparty/modules/stdlib/lib/puppet/parser/functions/prefix.rb
index
ac1c58a
..
b1c1e35
100644
(file)
--- a/
3rdparty/modules/stdlib/lib/puppet/parser/functions/prefix.rb
+++ b/
3rdparty/modules/stdlib/lib/puppet/parser/functions/prefix.rb
@@
-15,8
+15,7
@@
Will return: ['pa','pb','pc']
) do |arguments|
# Technically we support two arguments but only first is mandatory ...
) do |arguments|
# Technically we support two arguments but only first is mandatory ...
- raise(Puppet::ParseError, "prefix(): Wrong number of arguments " +
- "given (#{arguments.size} for 1)") if arguments.size < 1
+ raise(Puppet::ParseError, "prefix(): Wrong number of arguments given (#{arguments.size} for 1)") if arguments.size < 1
enumerable = arguments[0]
enumerable = arguments[0]