Update the README to show that .list is optional for sources
This commit is contained in:
parent
77ae6e98be
commit
18a2525b7a
1 changed files with 4 additions and 2 deletions
6
README
6
README
|
@ -440,11 +440,13 @@ apt::sources_list
|
||||||
Creates a file in the apt/sources.list.d directory to easily add additional apt
|
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
|
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'
|
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:
|
Example:
|
||||||
|
|
||||||
apt::sources_list { 'company_internals.list':
|
apt::sources_list { 'company_internals':
|
||||||
source => [ "puppet:///modules/site_apt/${::fqdn}/company_internals.list",
|
source => [ "puppet:///modules/site_apt/${::fqdn}/company_internals.list",
|
||||||
'puppet:///modules/site_apt/company_internals.list' ],
|
'puppet:///modules/site_apt/company_internals.list' ],
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue