On Tuesday, March 26, 2013 7:02:34 AM UTC-5, Sergio Jimenez wrote:
>
>
> Not really sure about it (pretty new in puppet) but ... what about 
> parametrized classes? You could define default values for parameters in the 
> class or overwrite them when using the class.
>
>
If you look at his code, you will see that he is already using a 
parameterized class. His question is about overriding parameter values he 
has already declared for that class.

Speaking of parameterized classes, by the way, they should not be used as 
base classes in class inheritance, so converting to an old-school approach 
based on class inheritance would require changing the parameterized class 
to a normal one.  Not much of a loss, really, but just saying.


John

-- 
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.


Reply via email to