Use ensure_packages rather than forcing the installation of the dependency#30
Conversation
|
What version of puppet includes |
|
|
|
OK. Sounds like this module may need a dependency on some minimum version of stdlib, which includes |
|
Fair point, I've bumped the stdlib version to a minimum of 3.2.0 |
|
Just tested this and looks good. I noticed that the stdlib docs mention that stdlib 3.x supports puppet 2.7 and higher (if I am reading it correctly) which should be fine: https://forge.puppet.com/puppetlabs/stdlib/3.2.1. Going to merge this -- thanks @ColinHebert for your work on this! |
ensure_packagesis the recommended way to install packages within modules. It avoids conflicts with other modules that might require the same packages.This is an updated version of #18