Document the new config_template parameter

Also add an example for how to use the apt::unattended_upgrades class.
This commit is contained in:
Gabriel Filion 2015-10-09 17:18:57 -04:00
parent e714859a10
commit 99fe7db721

11
README
View file

@ -376,6 +376,7 @@ The class has the following parameters that you can use to change the contents
of the configuration file. The values shown here are the default values:
* $config_content = undef
* $config_template = 'apt/50unattended-upgrades.erb'
* $mailonlyonerror = true
* $mail_recipient = 'root'
* $blacklisted_packages = []
@ -383,6 +384,16 @@ of the configuration file. The values shown here are the default values:
Note that using $config_content actually specifies all of the configuration
contents and thus makes the other parameters useless.
example:
class { 'apt::unattended_upgrades':
config_template => 'site_apt/50unattended-upgrades.jessie',
blacklisted_packages => [
'libc6', 'libc6-dev', 'libc6-i686', 'mysql-server', 'redmine', 'nodejs',
'bird'
],
}
Defines
=======