----- Original Message -----
> From: "Sergiu Cornea" <[email protected]>
> To: "puppet-users" <[email protected]>
> Sent: Wednesday, August 5, 2015 11:41:38 AM
> Subject: [Puppet Users] Hiera lookup

> Hello guys,
> 
> I am trying to specify in the Hiera file which website should be a CMS like
> wordpress and which should just be a static website, however, doesn't
> matter what value I am having in the Hiera, my code always resolves to
> false. It is this a bug or I am doing something wrong?
> 
> Below is the code I am using:
> 
> $static      = hiera("website_type::${uid}::cms"    , 'false')
> 
> if $cms {

You're assinign $static and checking $cms.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/649820897.120474.1438771507193.JavaMail.zimbra%40devco.net.
For more options, visit https://groups.google.com/d/optout.

Reply via email to