From 1f786066205c98defb4814ad60c673b97f0cc63d Mon Sep 17 00:00:00 2001 From: James Cammarata Date: Tue, 20 Aug 2013 14:46:04 -0500 Subject: [PATCH] Minor doc fixes for the pkgutil module --- packaging/pkgutil | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/packaging/pkgutil b/packaging/pkgutil index dc3c4c32c42..37a15073b61 100644 --- a/packaging/pkgutil +++ b/packaging/pkgutil @@ -31,7 +31,7 @@ description: as a legacy feature in Solaris 11. - Pkgutil is an advanced packaging system, which resolves dependency on installation. It is designed for CSW packages. -version_added: "1.2" +version_added: "1.3" author: Alexander Winkler options: name: @@ -41,22 +41,21 @@ options: site: description: - 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: description: - 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. - - Beware: (C(latest)) only works for one package. + - "Beware: (C(latest)) only works for one package." required: true choices: ["present", "absent", "latest"] - examples: - - code: pkgutil name=CSWcommon state=present + - pkgutil: name=CSWcommon state=present 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. - - code: pkgutil name=CSWaspell state=absent + - pkgutil: name=CSWaspell state=absent description: Ensure that a package is not installed. ''' import os