Document the new config_template parameter
Also add an example for how to use the apt::unattended_upgrades class.
This commit is contained in:
parent
e714859a10
commit
99fe7db721
1 changed files with 11 additions and 0 deletions
11
README
11
README
|
@ -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
|
||||
=======
|
||||
|
||||
|
|
Loading…
Reference in a new issue