summaryrefslogtreecommitdiff
path: root/lib/puppet
diff options
context:
space:
mode:
authorFranco Catena <francocatena@gmail.com>2013-12-05 16:11:59 -0300
committerAdrien Thebo <git@somethingsinistral.net>2013-12-20 14:50:57 -0800
commit7991dd20738209ab86a657ba62f2600ba39ca8ef (patch)
tree504a0fb6f9ac2b272010c5d7eca9fa555bb5cb18 /lib/puppet
parent799e968f5c8ba901a8b395cff6f8848caf8b00e9 (diff)
downloadpuppet-stdlib-7991dd20738209ab86a657ba62f2600ba39ca8ef.tar.gz
puppet-stdlib-7991dd20738209ab86a657ba62f2600ba39ca8ef.tar.bz2
Fix prefix exception message (Closes #23364)
Diffstat (limited to 'lib/puppet')
-rw-r--r--lib/puppet/parser/functions/prefix.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/parser/functions/prefix.rb b/lib/puppet/parser/functions/prefix.rb
index 62211ae..d02286a 100644
--- a/lib/puppet/parser/functions/prefix.rb
+++ b/lib/puppet/parser/functions/prefix.rb
@@ -28,7 +28,7 @@ Will return: ['pa','pb','pc']
if prefix
unless prefix.is_a?(String)
- raise Puppet::ParseError, "prefix(): expected second argument to be a String, got #{suffix.inspect}"
+ raise Puppet::ParseError, "prefix(): expected second argument to be a String, got #{prefix.inspect}"
end
end