A small note on params.pp, even if I've largely used it in the Example42
modules there are cases where it's totally uneffective, for example when
you've to define there a parameters whose value may change according to
another parameter the user may pass to init.pp
An example is here:
So, I've been looking into the params pattern for writing modules, ie.
having a params.pp file that init.pp inherits from as a place to use custom
logic to set variables, and it seems very useful. I do have one question
that I'm hoping someone can answer. If, for example, I look at an example42
As one of the two new maintainers of all Puppetlabs modules I can tell you
for sure that our intent is to make sure everything in init.pp inherits out
of params.pp instead of declaring them directly in the main class, and if
you're kind enough and can throw a github issue up for any cases you
Ah, good to know. I'll file some tickets as I come across instances of this.
On Tuesday, August 13, 2013 2:47:43 PM UTC-7, Ashley Penney wrote:
As one of the two new maintainers of all Puppetlabs modules I can tell you
for sure that our intent is to make sure everything in init.pp inherits