You may need to define local versions of them that equal the param or
default to the param.

$var = $::class::params::var


On Wed, Sep 3, 2014 at 5:58 AM, Jonathan Gazeley <
[email protected]> wrote:

> Hopefully this is just me having a bad day, but I'm having trouble writing
> a new module.
>
> I have a mymodule::params class with some sensible site defaults in it,
> and the other classes "inherit mymodule::params".
>
> I also have some defined types, and of course you can't use 'inherits' in
> a defined type. So how do I access site variables in my defined types? I
> tried using 'include mymodule::params' but this didn't provide the
> variables either.
>
> Thanks,
> Jonathan
>
> --
> 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/54071074.9010504%40bristol.ac.uk.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Perfection is just a word I use occasionally with mustard.
--Atom Powers--

-- 
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/CAF-H%3DO%3DBaKsd1AWmTFmahUSa473fj5N1rgtfO6MFrY%2Bjs7vGcQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to