On Monday, May 13, 2013 4:39:44 PM UTC-5, Ashley Penney wrote:

If you load up the init.pp from this module you'll notice that after the
"class squid" declaration there's no parameters listed for the class. This
is because this is a "old style" module at this point and is just setting
variables directly in params.pp. You would be best off looking for a
better squid module while you get up to speed on Puppet.
By no means does parameterization inherently make a class better, though it
does affect how you can use it. With Puppet 3, I'd generally rate class
parameterization itself as neutral, but there are some scenarios in which
it actually constitutes a loss (see, for example, the recent thread about

With that said, I agree that the particular example42 module in question
has some issues. I cannot recommend it (but not on account of being
unparameterized). For the record, however, the way you would customize it
for a given site would be to edit its "params.pp" file.


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 puppet-users+unsubscribe@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.

Search Discussions

Discussion Posts


Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 3 of 4 | next ›
Discussion Overview
grouppuppet-users @
postedMay 13, '13 at 9:21p
activeMay 21, '13 at 7:57a



site design / logo © 2022 Grokbase