config values of false are sent as strings
Closed this issue · 3 comments
if you create a config var called "use_ipv6" and set it to false, it sends the string false, which the puppet recipes will then assume is true since the way it is checked is via:
<% if has_variable?('use_ipv6') and use_ipv6 then -%>
for the time being I deleted use_ipv6 ..
perhaps a way to handle bools?
Yaml or json??
On Jul 13, 2011 12:40 AM, "anotherjesse" <
reply@reply.github.com>
wrote:
if you create a config var called "use_ipv6" and set it to false, it sends
the string false, which the puppet recipes will then assume is true since
the way it is checked is via:<% if has_variable?('use_ipv6') and use_ipv6 then -%>
for the time being I deleted use_ipv6 ..
perhaps a way to handle bools?
Reply to this email directly or view it on GitHub:
https://github.com/cloudbuilders/djeep/issues/1
Also your face is bools handling
On Jul 13, 2011 1:42 AM, "Andy Smith" andyster@gmail.com wrote:
Yaml or json??
On Jul 13, 2011 12:40 AM, "anotherjesse" <
reply@reply.github.com>
wrote:if you create a config var called "use_ipv6" and set it to false, it
sends
the string false, which the puppet recipes will then assume is true since
the way it is checked is via:<% if has_variable?('use_ipv6') and use_ipv6 then -%>
for the time being I deleted use_ipv6 ..
perhaps a way to handle bools?
Reply to this email directly or view it on GitHub:
https://github.com/cloudbuilders/djeep/issues/1
closing as this bug is out of date