diff options
author | LeLutin <gabster@lelutin.ca> | 2017-02-24 23:27:32 +0000 |
---|---|---|
committer | LeLutin <gabster@lelutin.ca> | 2017-02-24 23:27:32 +0000 |
commit | 6739923a0f75ffc82d0822eb15636cb244b8e31f (patch) | |
tree | b76b03a4c226d47605c30f8821711d09ec2f3825 /README.md | |
parent | 1c31ee4c7240e192fc933c934bb05ea50537bedd (diff) | |
parent | 4a261733172f2699b217ea6d43ec9ee09a32c72d (diff) |
Merge branch 'master' into 'master'
Move old monolithic preferences files to mutiple preferences.d files (Fix #14)
Closes #14
See merge request !61
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 22 |
1 files changed, 8 insertions, 14 deletions
@@ -253,25 +253,19 @@ Example usage: If this variable is set the default repositories list ("main contrib non-free") is overriden. -### custom_preferences +### manage_preferences - For historical reasons (Debian Lenny's version of APT did not support the use - of the `preferences.d` directory for putting fragments of 'preferences'), this - module will manage a default generic apt/preferences file with more - recent releases pinned to very low values so that any package - installation will not accidentally pull in packages from those suites - unless you explicitly specify the version number. This file will be - complemented with all of the preferences_snippet calls (see below). + Setting this variable to `false` will delete all the files in `preferences.d` + managed by Puppet. By default, this parameter is set to `true`. - If the default preferences template doesn't suit your needs, you can create a - template located in your `site_apt` module, and set custom_preferences with the - content (eg. custom_preferences => template('site_apt/preferences') ) +### custom_preferences - Setting this variable to false before including this class will force the - `apt/preferences` file to be absent: + If the default preferences template doesn't suit your needs, you can create a + template located in your `apt` module, and set `custom_preferences` to your + preferred template: class { 'apt': - custom_preferences => false, + custom_preferences => 'apt/my_super_template.erb', } ### custom_sources_list |