Show off! ;) Great example thanks.

I noticed you fully qualify variables within the very class they were
assigned. Is that best practice now?

I've created a simple apache module using your openssh module as
inspiration. I still need to modify params.pp to check for globally
defined vars. In the current incarnation it optionally installs the
mod_ssl package if the "apache:ssl" class is declared (which inherits
the apache class).

Would you recommend doing optional packages as sub classes? Does it
make more sense to install optional packages based on class
parameters?

https://github.com/rbowlby/apache




On Jan 18, 1:58 am, Alessandro Franceschi <[email protected]> wrote:
> Look here at how I do this:https://github.com/example42/puppet-openssh

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to