Setting install_recommends to false helps keeping more control
over installed packages
Add support to disable/enable installing of recommended packages
This needs rspec tests and also acceptance/Beaker tests to validate that the behaviour change we expect occurs.
This should be an optional value and default to true to reflect current/default Debian policy.
It should be possible to remove this file entirely instead of flipping the policy from false to true to get the default behaviour. As such it would need an ensure param defaulting to file which could be set to absent instead by a user.
What should this absence depend on?
What about this:
install_recomments = true: ensure file
install_recomments = false: ensure file
install_recomments = undef: ensure absent
Mmm, that might work but could also get you into trouble because of Puppet's weird interpretations of booleans and undef.
I'd be more comfortable with simply having an ensure parameter that you can set to present or absent
I too would prefer to see present/absent with ensure, so 👍 to that.
install recommends defaults to true to reflect debian default
Add option to remove install recommends file completely
Add newline to install recomments
@martijndegouw: we still need tests on this.