aboutsummaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorMicah <micah@riseup.net>2014-12-07 14:02:08 +0000
committerMicah <micah@riseup.net>2014-12-07 14:02:08 +0000
commitc826a07dfec73811a35d67c269c0cc1629d71df9 (patch)
tree44f4dec3d6c4fa948bf091a02b42831c3c68eaa9 /README
parent8e8fa56271ca8051447d201e40b1c04fc07dc727 (diff)
parent54532e917965cba5989b3781071dd54af702752e (diff)
downloadpuppet-apt-c826a07dfec73811a35d67c269c0cc1629d71df9.tar.gz
puppet-apt-c826a07dfec73811a35d67c269c0cc1629d71df9.tar.bz2
Merge branch 'document_list' into 'master'
Document list added a note to the readme to document that the .list ending for resource names is now optional See merge request !3
Diffstat (limited to 'README')
-rw-r--r--README6
1 files changed, 4 insertions, 2 deletions
diff --git a/README b/README
index 0057d87..2ebc1b7 100644
--- a/README
+++ b/README
@@ -440,11 +440,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' ],
}