aboutsummaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorJerome Charaoui <jcharaoui@cmaisonneuve.qc.ca>2015-02-20 16:09:44 -0500
committerJerome Charaoui <jcharaoui@cmaisonneuve.qc.ca>2015-02-20 16:09:44 -0500
commite3e0b46ca6039170c2d2faa8b2bebf14460679eb (patch)
tree2f255b0f4d109afeb15d870f2151ec9da0100ba0 /README
parentc9ae59e1b72d41518160ff4c7b430573b10254a3 (diff)
parent7c55bee06ab952c914b3a367f495e36a2539807f (diff)
downloadpuppet-apt-e3e0b46ca6039170c2d2faa8b2bebf14460679eb.tar.gz
puppet-apt-e3e0b46ca6039170c2d2faa8b2bebf14460679eb.tar.bz2
Merge branch 'master' of gitlab.com:shared-puppet-modules-group/apt
Diffstat (limited to 'README')
-rw-r--r--README14
1 files changed, 12 insertions, 2 deletions
diff --git a/README b/README
index 0057d87..87b303a 100644
--- a/README
+++ b/README
@@ -128,6 +128,14 @@ Example usage:
Class parameters:
+* use_lts
+
+ If this variable is set to true the CODENAME-lts sources (such as
+ squeeze-lts) are added.
+
+ By default this is false for backward compatibility with older
+ versions of this module.
+
* use_volatile
If this variable is set to true the CODENAME-updates sources (such as
@@ -440,11 +448,13 @@ apt::sources_list
Creates a file in the apt/sources.list.d directory to easily add additional apt
sources. One can use either the 'source' meta-parameter to specify a list of
static files to include from the puppet fileserver or the 'content'
-meta-parameter to define content inline or with the help of a template.
+meta-parameter to define content inline or with the help of a template. Ending
+the resource name in '.list' is optional: it will be automatically added to the
+file name if not present in the resource name.
Example:
- apt::sources_list { 'company_internals.list':
+ apt::sources_list { 'company_internals':
source => [ "puppet:///modules/site_apt/${::fqdn}/company_internals.list",
'puppet:///modules/site_apt/company_internals.list' ],
}