Re: [Puppet Users] params pattern when writing modules

2013-08-14 Thread Alessandro Franceschi
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:

[Puppet Users] params pattern when writing modules

2013-08-13 Thread Ellison Marks
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

Re: [Puppet Users] params pattern when writing modules

2013-08-13 Thread Ashley Penney
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

Re: [Puppet Users] params pattern when writing modules

2013-08-13 Thread Ellison Marks
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