On May 4, 2013, at 9:50 PM, Josh <[email protected]> wrote:
> So instead of:
>
> class bar ($foo = 'blah') { ... }
>
> One would have something like:
>
> class bar { $foo = heira('bar::foo', 'blah') }
>
> Is that correct?
That's the hard way to do it. The easy way is to do
class bar ($foo) { … }
and Hiera will look up the key "bar::foo" from the configured data sources.
--
Brian Lalor
[email protected]
--
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.