diff options
author | Gabriel Filion <gabster@lelutin.ca> | 2015-10-09 17:18:57 -0400 |
---|---|---|
committer | Gabriel Filion <gabster@lelutin.ca> | 2015-10-09 17:22:31 -0400 |
commit | 99fe7db72135c8bca025a5870e693689b8803d94 (patch) | |
tree | 6b6f44e681884f535fc835983adefbbddb90581e /README | |
parent | e714859a10776123afe77bbd15d9f7a02ea9682f (diff) |
Document the new config_template parameter
Also add an example for how to use the apt::unattended_upgrades class.
Diffstat (limited to 'README')
-rw-r--r-- | README | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -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 ======= |