summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarrero984 <michael.marrero@puppetlabs.com>2015-10-22 13:58:57 -0700
committermarrero984 <michael.marrero@puppetlabs.com>2015-10-22 14:02:13 -0700
commit2c3c6fde98e28cc3afd7f846d3176982f39ebc39 (patch)
tree16002734a385b62988e92ff1a0514e3c49bb87f0
parent2db7440c6798d3ea0bf2f92c66d8281b2bfcff0c (diff)
downloadpuppet-stdlib-2c3c6fde98e28cc3afd7f846d3176982f39ebc39.tar.gz
puppet-stdlib-2c3c6fde98e28cc3afd7f846d3176982f39ebc39.tar.bz2
(#2183) updated str2bool readme wording
-rw-r--r--README.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.markdown b/README.markdown
index f9c9425..67b2b17 100644
--- a/README.markdown
+++ b/README.markdown
@@ -711,7 +711,7 @@ Returns a new string where runs of the same character that occur in this set are
#### `str2bool`
-Converts a string to a boolean regardless of case. This attempts to convert strings that contain values such as '1', 't', 'y', 'Y', 'YES','yes', and 'TRUE' to 'true' and strings that contain values such as '0', 'f','F', 'N','n', 'NO','FALSE', and 'no' to 'false'. *Type*: rvalue.
+Converts certain strings to a boolean. This attempts to convert strings that contain the values '1', 't', 'y', and 'yes' to 'true'. Strings that contain values '0', 'f', 'n', and 'no', or are an an empty string or undefined are converted to 'false'. Any other value will cause an error. *Type*: rvalue.
#### `str2saltedsha512`