Hello everyone! I hope your Thursdays are going swimmingly!

I'm having an issue with using data looked up via Hiera and using that in a 
conditional in my manifest. Here is a simple use-case where I simply cannot 
get it to work: http://pastie.org/private/gtplsiajmmrdhjie49bda#

In this example the Hiera lookup is handling as expected - globally the 
cagefs_enabled variable is being returned as "false" and on the 
some.fqdn.com.yaml it's being returned as "true". The notice() call right 
after the lookup confirms that the variable is being set properly.

The issue is I cannot for the life of me to get that data to work in a 
conditional. I've tried string comparisons and simple binary ones (1==1, 
0==0) to no luck. The IF statement simply isn't being hit.

Am I missing something obvious in this case?

-- 
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