diff options
author | Adrien Thebo <git@somethingsinistral.net> | 2013-03-18 15:05:23 -0700 |
---|---|---|
committer | Adrien Thebo <git@somethingsinistral.net> | 2013-03-18 15:05:23 -0700 |
commit | 967f9916d16ea4f5a8557c9c66ddb878872337ca (patch) | |
tree | e20db53336a3034205263d09d7f6bbf0eec1df2e /lib/puppet | |
parent | 1e2ee5bd01b85258548bb7c0aabe4ce0938b2560 (diff) | |
parent | e80207bede37e498c32bea6d56c46f1dd709721e (diff) |
Merge branch 'pull-98' into 2.x
Diffstat (limited to 'lib/puppet')
-rw-r--r-- | lib/puppet/parser/functions/flatten.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/parser/functions/flatten.rb b/lib/puppet/parser/functions/flatten.rb index 781da78..a1ed183 100644 --- a/lib/puppet/parser/functions/flatten.rb +++ b/lib/puppet/parser/functions/flatten.rb @@ -16,7 +16,7 @@ Would return: ['a','b','c'] ) do |arguments| raise(Puppet::ParseError, "flatten(): Wrong number of arguments " + - "given (#{arguments.size} for 1)") if arguments.size < 1 + "given (#{arguments.size} for 1)") if arguments.size != 1 array = arguments[0] |