> On Mon, Oct 22, 2012 at 12:37 PM, jcbollinger
> wrote:
> $param1 = 'default1',
> $param2 = 'default2' ) {
> # declarations
> }
>
> I recommend some variation on
>
> class mymodule::foo {
> $param1 = hiera('foo::param1', 'default1')
> $param2 = hiera('foo::param2', 'default2')
> #
It seems to me that a few puppet modules do access variables from
non-included classes (for example
https://github.com/puppetlabs/puppetlabs-mysql/blob/master/manifests/config.pp
look
at how stuff is pulled out of mysql::params).
I do not understand how this is supposed to work. What happens i