Fix ppa syntax in apt_repository module doc

The example for using a ppa had the wrong syntax.

Ironically, the correct syntax is illustrated in a comment on line 23.
reviewable/pr18780/r1
Lorin Hochstein 12 years ago
parent f8dc455b23
commit 1dc2521b23

@ -48,7 +48,7 @@ notes:
- A bug in C(apt-add-repository) always adds C(deb) and C(deb-src) types for repositories (see the issue on Launchpad U(https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/987264)), if a repo doesn't have source information (eg MongoDB repo from 10gen) the system will fail while updating repositories. - A bug in C(apt-add-repository) always adds C(deb) and C(deb-src) types for repositories (see the issue on Launchpad U(https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/987264)), if a repo doesn't have source information (eg MongoDB repo from 10gen) the system will fail while updating repositories.
author: Matt Wright author: Matt Wright
examples: examples:
- code: "apt_repository: repo=ppa://nginx/stable" - code: "apt_repository: repo=ppa:nginx/stable"
description: Add nginx stable repository from PPA description: Add nginx stable repository from PPA
- code: "apt_repository: repo='deb http://archive.canonical.com/ubuntu hardy partner'" - code: "apt_repository: repo='deb http://archive.canonical.com/ubuntu hardy partner'"
description: Add specified repository into sources. description: Add specified repository into sources.

Loading…
Cancel
Save