summaryrefslogtreecommitdiff
path: root/lib/puppet/parser/functions/str2bool.rb
diff options
context:
space:
mode:
authorLoic Antoine-Gombeaud <l.antoine-gombeaud@foodpanda.com>2016-07-27 12:59:23 +0200
committerLoic Antoine-Gombeaud <l.antoine-gombeaud@foodpanda.com>2016-07-27 12:59:23 +0200
commitfded0af0c687bf4f219564dc4dfcd890f4563523 (patch)
tree315d99a88642323c03315b640334c146526e592f /lib/puppet/parser/functions/str2bool.rb
parente18f0428514516c8fd53d467cc78aaae6713cb41 (diff)
Fix str2bool error message
Diffstat (limited to 'lib/puppet/parser/functions/str2bool.rb')
-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