On 06/05/2014 01:06 PM, Sans wrote:
> Later in my module, how can I use any of the variables (e.g. $zp_repo)
> that are already defined in the zpack_installer?

I strongly disbelieve that this can work.

You can access variables defined in classes, but I would be mildly
disturbed if there was a similar feature for accessing interna of
defined type instances.

If you have Hiera, you likely want to have your data in structured hiera
values, so that you can look them up from all parts of your manifest.

As an aside - inline_templates in defined types can be performance
sinks, evaluating them is rather costly for the compiler.

HTH,
Felix

-- 
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/539058C9.6080405%40alumni.tu-berlin.de.
For more options, visit https://groups.google.com/d/optout.

Reply via email to