summaryrefslogtreecommitdiff
path: root/lib/puppet/parser/functions/concat.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/puppet/parser/functions/concat.rb')
-rw-r--r--lib/puppet/parser/functions/concat.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/puppet/parser/functions/concat.rb b/lib/puppet/parser/functions/concat.rb
index 4b53f59..8400f7b 100644
--- a/lib/puppet/parser/functions/concat.rb
+++ b/lib/puppet/parser/functions/concat.rb
@@ -16,9 +16,9 @@ Would result in:
EOS
) do |arguments|
- # Check that 2 arguments have been given ...
+ # Check that more than 2 arguments have been given ...
raise(Puppet::ParseError, "concat(): Wrong number of arguments " +
- "given (#{arguments.size} for 2)") if arguments.size != 2
+ "given (#{arguments.size} for < 2)") if arguments.size < 2
a = arguments[0]
b = arguments[1]