Merge pull request #3458 from morganfainberg/document-fixes-for-apt-pkrepo

Quick Documentation fixes for APT pkgrepo state
This commit is contained in:
Thomas S Hatch 2013-01-25 20:20:02 -08:00
commit a49f5104d9
2 changed files with 11 additions and 2 deletions

View File

@ -687,7 +687,7 @@ def mod_repo(repo, refresh=False, **kwargs):
The following options are available to modify a repo definition::
uri (the uri of the repo, e.g. deb http://archive.ubuntu.com/ubuntu)
uri (the uri of the repo, e.g. http://archive.ubuntu.com/ubuntu )
comps (a comma separated list of components for the repo, e.g. "main")
file (a file name to be used)
refresh (refresh the apt sources db when the mod is done)

View File

@ -56,7 +56,16 @@ def managed(name, **kwargs):
in the repo configuration with a comment marker (#) in front.
For apt-based systems, take note of the following configuration vaolues:
For apt-based systems, take note of the following configuration values:
name:
on apt-based systems this must be the complete entry as it would be
seen in the sources.list file. This can have a limited subset of
components (i.e. 'main') which can be added/modified with the
"comps" option.
EXAMPLE: deb http://us.archive.ubuntu.com/ubuntu/ precise main
uri
On apt-based systems, uri refers to a direct URL to be used for the