]> gitweb.fluxo.info Git - puppet-apt.git/commitdiff
Update the README to show that .list is optional for sources
authorGabriel Filion <gabster@lelutin.ca>
Sat, 6 Dec 2014 17:14:50 +0000 (12:14 -0500)
committerGabriel Filion <gabster@lelutin.ca>
Sat, 6 Dec 2014 17:14:50 +0000 (12:14 -0500)
README

diff --git a/README b/README
index 0057d87fc7edd7c3f9991777d509d37f94f4bb98..0dec9d35ca64f167222a7e276ed3eafcf81bbde5 100644 (file)
--- 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' ],
   }