diff options
author | Loic Antoine-Gombeaud <l.antoine-gombeaud@foodpanda.com> | 2016-07-27 12:59:23 +0200 |
---|---|---|
committer | Loic Antoine-Gombeaud <l.antoine-gombeaud@foodpanda.com> | 2016-07-27 12:59:23 +0200 |
commit | fded0af0c687bf4f219564dc4dfcd890f4563523 (patch) | |
tree | 315d99a88642323c03315b640334c146526e592f | |
parent | e18f0428514516c8fd53d467cc78aaae6713cb41 (diff) |
Fix str2bool error message
-rw-r--r-- | lib/puppet/parser/functions/str2bool.rb | 2 |
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 |