diff options
author | Ryan McKern <ryan.mckern@puppetlabs.com> | 2014-05-15 15:01:14 -0700 |
---|---|---|
committer | Ryan McKern <ryan.mckern@puppetlabs.com> | 2014-05-15 15:01:14 -0700 |
commit | 93c4151edfedb28a0cafa60011c57eb6d76ca6be (patch) | |
tree | 5321e18a8badd91c72eb7f6a3b20d62cfe293e3f /Modulefile | |
parent | 0761fcf0433b1c73ff9925d1b8fa20a618f28875 (diff) |
(MODULES-905) Narrow the confinement in bool2str
Previously, bool2str() accepted a broad array of boolean values and
bare strings, without any attempt to validate that the strings in any
way resembled "true" or "false" (or any of the other values bool2num()
accepts). This commit narrows the input confinement to TrueClass and
FalseClass, which means that bool2str() will only interpolate
strict boolean values now.
Diffstat (limited to 'Modulefile')
0 files changed, 0 insertions, 0 deletions