Title: Message Title
Andy Parker commented on an issue
Puppet / Bug PUP-3018
Puppet doesn't like to evaluate 'require => [ [], [] ],'
Sometimes you might want to programmatically decide upon a resources requries, viz:

{code}
someresource {'mynam':
   require => $flag ? { true => another_resource['name'], false => []},
}
{code}

This works ok until you have lists on the RHS of the require line.

This works ok:

{code}
someresource {'mynam':
   require => [$flag_a ? { true ...

--
You received this message because you are subscribed to the Google Groups "Puppet Bugs" 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-bugs.
For more options, visit https://groups.google.com/d/optout.

Reply via email to