Minor doc fixes for the pkgutil module

reviewable/pr18780/r1
James Cammarata 11 years ago
parent 487dcccd7d
commit 1f78606620

@ -31,7 +31,7 @@ description:
as a legacy feature in Solaris 11. as a legacy feature in Solaris 11.
- Pkgutil is an advanced packaging system, which resolves dependency on installation. - Pkgutil is an advanced packaging system, which resolves dependency on installation.
It is designed for CSW packages. It is designed for CSW packages.
version_added: "1.2" version_added: "1.3"
author: Alexander Winkler author: Alexander Winkler
options: options:
name: name:
@ -41,22 +41,21 @@ options:
site: site:
description: description:
- Specifies the repository path to install the package from. - Specifies the repository path to install the package from.
- It's global definition is done in C(/etc/opt/csw/pkgutil.conf)). - Its global definition is done in C(/etc/opt/csw/pkgutil.conf).
state: state:
description: description:
- Whether to install (C(present)), or remove (C(absent)) a package. - Whether to install (C(present)), or remove (C(absent)) a package.
- The upgrade (C(latest)) operation will update/install the package to the latest version available. - The upgrade (C(latest)) operation will update/install the package to the latest version available.
- Beware: (C(latest)) only works for one package. - "Beware: (C(latest)) only works for one package."
required: true required: true
choices: ["present", "absent", "latest"] choices: ["present", "absent", "latest"]
examples: examples:
- code: pkgutil name=CSWcommon state=present - pkgutil: name=CSWcommon state=present
description: Install a package description: Install a package
- code: 'pkgutil name=CSWnrpe site=ftp://myinternal.repo/opencsw/kiel state=latest' - pkgutil: 'name=CSWnrpe site=ftp://myinternal.repo/opencsw/kiel state=latest'
description: If a package is not installed or not installed in the latest version, it will be installed with the newest version from a specified repository. description: If a package is not installed or not installed in the latest version, it will be installed with the newest version from a specified repository.
- code: pkgutil name=CSWaspell state=absent - pkgutil: name=CSWaspell state=absent
description: Ensure that a package is not installed. description: Ensure that a package is not installed.
''' '''
import os import os

Loading…
Cancel
Save