aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriel Filion <gabster@lelutin.ca>2014-12-06 12:14:50 -0500
committerGabriel Filion <gabster@lelutin.ca>2014-12-06 12:14:50 -0500
commit18a2525b7ab8f25790942e72774f118f94dbb0d1 (patch)
tree9bbb52c83e33c00a00e26bad332ed508a518a658
parent77ae6e98bec8cf0bb6e69a125dad0e8e734daa01 (diff)
downloadpuppet-apt-18a2525b7ab8f25790942e72774f118f94dbb0d1.tar.gz
puppet-apt-18a2525b7ab8f25790942e72774f118f94dbb0d1.tar.bz2
Update the README to show that .list is optional for sources
-rw-r--r--README6
1 files changed, 4 insertions, 2 deletions
diff --git a/README b/README
index 0057d87..0dec9d3 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 since this extension will
+automatically be added to the created file.
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' ],
}