On 10/28/2014 02:27 PM, Eric Francis wrote:
> [general puppet question] In your init.pp you have:
>
> |
> inherits eclipse_platform::params{class{'eclipse_platform::setup':}}
> |
> What does defining a class inside of a class achieve? I'm still new to
> puppet, so just a point in the right diretion would be great. Thanks,
> Eric Francis
>
Misunderstanding - this is not defining a class inside another. Your
quote is just a quirky way of writing
...inhertis |eclipse_platform::params{include eclipse_platform::setup }
|
The class { 'name': } syntax allows you to pass parameters, but should
generally be avoided under any circumstances (if you ask me. Or John ;-)
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/545FF07A.9020704%40Alumni.TU-Berlin.de.
For more options, visit https://groups.google.com/d/optout.