summaryrefslogtreecommitdiff
path: root/lib/puppet
diff options
context:
space:
mode:
authorTP Honey <tphoney@users.noreply.github.com>2016-08-04 11:43:02 +0100
committerGitHub <noreply@github.com>2016-08-04 11:43:02 +0100
commitd2d9c300a7954cf4d2a962f69f2250d39261c8b3 (patch)
treeb97d5bfa056a9719fe3bea6ef0f55d5748883f25 /lib/puppet
parent16a26f6ab40a4b1d7e6836ff6de24850f0b8fb35 (diff)
parentfded0af0c687bf4f219564dc4dfcd890f4563523 (diff)
Merge pull request #626 from LoicAG/fix_str2bool_error_message
Fix str2bool error message
Diffstat (limited to 'lib/puppet')
-rw-r--r--lib/puppet/parser/functions/str2bool.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/parser/functions/str2bool.rb b/lib/puppet/parser/functions/str2bool.rb
index 8def131..472506d 100644
--- a/lib/puppet/parser/functions/str2bool.rb
+++ b/lib/puppet/parser/functions/str2bool.rb
@@ -21,7 +21,7 @@ like: 0, F,f, N,n, false, FALSE, no to 'false'.
end
unless string.is_a?(String)
- raise(Puppet::ParseError, 'str2bool(): Requires either ' +
+ raise(Puppet::ParseError, 'str2bool(): Requires ' +
'string to work with')
end