Hi...

I've been trying to set up boolean values in Hiera, but with no luck.

For example, I'm using puppetlabs-haproxy module, and this is a code
snippet:

class haproxy (
  $manage_service   = true,
   ...
) inherits haproxy::params {
   ...

  if $manage_service {
  }
}

Now, this is how I set up values in hiera:

haproxy::manage_service: false


But, it seems that $manage_service is always true... I tried by single
quoting 'false', capital letter False, but nothing helps...

Only thing so far I've found out is to change the manifest code to look
like this:

  if $manage_service == 'true' {
  }


Any ideas?

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to