On 2014-13-07 14:57, Felix Frank wrote:
On 07/13/2014 03:36 AM, Henrik Lindberg wrote:
"falsey": empty string, false, undef
"truthy": everything else
In Puppet 4.0.0 this will be:
"falsey": false, undef
"truthy": everything else
Oops? Interesting. This will break O(50%) of my manifests. Good to know,
seeing as there is likely no deprecation warning for "you are apparently
using an empty string in boolean context", right?
Yes, no deprecation issued as that would create an avalanche of
deprecations.
Best approach is to test with --parser future.
- henrik
--
Visit my Blog "Puppet on the Edge"
http://puppet-on-the-edge.blogspot.se/
--
You received this message because you are subscribed to the Google Groups "Puppet
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/lpuca7%249ap%241%40ger.gmane.org.
For more options, visit https://groups.google.com/d/optout.