summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2015-02-07 16:25:05 +0000
committerintrigeri <intrigeri@boum.org>2015-02-07 16:25:05 +0000
commit7c55bee06ab952c914b3a367f495e36a2539807f (patch)
tree39d3c2ca80305641ea85179cd8192949bccff09d /README
parent85c7554c4bb06130ab3e88170842dc1b2ddbb186 (diff)
parentc826a07dfec73811a35d67c269c0cc1629d71df9 (diff)
Merge remote-tracking branch 'shared/master' into feature/squeeze-lts
Diffstat (limited to 'README')
-rw-r--r--README6
1 files changed, 4 insertions, 2 deletions
diff --git a/README b/README
index 5e5c7c5..87b303a 100644
--- a/README
+++ b/README
@@ -448,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' ],
}