summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAdrien Thebo <git@somethingsinistral.net>2013-12-20 15:04:18 -0800
committerAdrien Thebo <git@somethingsinistral.net>2013-12-20 15:04:18 -0800
commitb50385b623bbab1dcd2a6660530c3550a3bbdfbe (patch)
treef8ae661057388c4602b8c1c3446fda923dcbb441 /lib
parent799e968f5c8ba901a8b395cff6f8848caf8b00e9 (diff)
parent7085472e69569abf67862dfdd4263e8754afb89b (diff)
Merge branch 'pull-209'
This closes GH-209
Diffstat (limited to 'lib')
-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