]> gitweb.fluxo.info Git - puppet-apt.git/commitdiff
Document the new config_template parameter
authorGabriel Filion <gabster@lelutin.ca>
Fri, 9 Oct 2015 21:18:57 +0000 (17:18 -0400)
committerGabriel Filion <gabster@lelutin.ca>
Fri, 9 Oct 2015 21:22:31 +0000 (17:22 -0400)
Also add an example for how to use the apt::unattended_upgrades class.

README

diff --git a/README b/README
index 7dfe0d1a41501788ea3ef5dba2dec3ad4ad4d426..45e079779c5bc3eb2c06031aaa0e984b2d625b56 100644 (file)
--- 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
 =======