Closed pmiles closed 9 years ago
instead of using if defined
, this should be a parameter that defaults to true for the inclusion of the class
Here's a similar example to base your tests off of
https://github.com/ghoneycutt/puppet-module-puppet/pull/89/files
Closing this due to inactivity. Opened issue #89 with an example, should you want to pursue this.
In our organisation, we don't need all of the functionality of the puppet nsswitch module.
This change wraps a condition around the nsswitch include, and if nsswitch module doesn't exist, silently ignore the include instead.
I believe this change is backward compatible.
ptionally include nsswitch module if its installed.