From 99fe7db72135c8bca025a5870e693689b8803d94 Mon Sep 17 00:00:00 2001 From: Gabriel Filion Date: Fri, 9 Oct 2015 17:18:57 -0400 Subject: Document the new config_template parameter Also add an example for how to use the apt::unattended_upgrades class. --- README | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README b/README index 7dfe0d1..45e0797 100644 --- a/README +++ b/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 ======= -- cgit v1.2.3