summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriel Filion <gabster@lelutin.ca>2015-10-09 17:18:57 -0400
committerGabriel Filion <gabster@lelutin.ca>2015-10-09 17:22:31 -0400
commit99fe7db72135c8bca025a5870e693689b8803d94 (patch)
tree6b6f44e681884f535fc835983adefbbddb90581e
parente714859a10776123afe77bbd15d9f7a02ea9682f (diff)
Document the new config_template parameter
Also add an example for how to use the apt::unattended_upgrades class.
-rw-r--r--README11
1 files changed, 11 insertions, 0 deletions
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
=======