ansible.svr4pkg(3) - Linux man page

Name

svr4pkg - Manage Solaris SVR4 packages

Description

Manages SVR4 packages on Solaris 10 and 11.

These were the native packages on Solaris <= 10 and are available as a legacy feature in Solaris 11.

Note that this is a very basic packaging system. It will not enforce dependencies on install or remove.

Options

name

Package name, e.g. SUNWcsr(required)

proxy

HTTP[s] proxy to be used if src is a URL.

src

Specifies the location to install the package from. Required when state=present.Can be any path acceptable to the pkgadd command's -d option. e.g.: somefile.pkg, /dir/with/pkgs, http:/server/mypkgs.pkg.If using a file or directory, they must already be accessible by the host. See the copy module for a way to get them there.

state

Whether to install (present), or remove (absent) a package.If the package is to be installed, then src is required.The SVR4 package system doesn't provide an upgrade operation. You need to uninstall the old, then install the new package. Choices: present,absent.(required)."

Examples

Install a package from an already copied file

svr4pkg name=CSWcommon src=/tmp/cswpkgs.pkg state=present
Install a package directly from an http site
svr4pkg name=CSWpkgutil src=http://get.opencsw.org/now state=present
Ensure that a package is not installed.
svr4pkg name=SUNWgnome-sound-recorder state=absent

Author

Boyd Adamson

See Also

ansible(1), http://ansible.github.com/modules.html#svr4pkg