-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> I've been using hiera for a few weeks now, but I'm stuck now trying
> to set a value to false
> 
> Basically, I have a class that read its parameter in hiera, and in
> a yaml file I have the following code:
> 
> --- use_ecrypt_fs: true server_region: fr puppet_enable: false
> 
> 
> This ultimately leads to the following error: err: Could not
> retrieve catalog from remote server: Error 400 on SERVER: Could not
> find data item puppet_enable in any Hiera data file and no default
> supplied at
> 
> When I set puppet_enable: true this works fine, but I can't figure
> out how to pass a false value (tried false, False, nil )

which version are you using? This have been fixed some time ago:
https://github.com/ripienaar/hiera/commit/3cd4cecaea1b4ea014e4ba4567a8322f0b987284

~pete
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk69YbYACgkQbwltcAfKi39v/wCcD62vk6u721kUwZ7sbfRO/89N
YGsAoIX71R9eQQlcQ1EtJIQLYQVdiQsW
=F/V8
-----END PGP SIGNATURE-----

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to