Class: Ansible::Ruby::Modules::Pkgutil

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/extras/packaging/os/pkgutil.rb

Overview

Manages CSW packages (SVR4 format) on Solaris 10 and 11. These were the native packages on Solaris <= 10 and are available as a legacy feature in Solaris 11. Pkgutil is an advanced packaging system, which resolves dependency on installation. It is designed for CSW packages.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, #initialize, remove_existing_validations, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#nameObject

Returns Package name, e.g. (C(CSWnrpe)).

Returns:

  • (Object)

    Package name, e.g. (C(CSWnrpe))



13
# File 'lib/ansible/ruby/modules/generated/extras/packaging/os/pkgutil.rb', line 13

attribute :name

#siteObject?

Returns Specifies the repository path to install the package from.,Its global definition is done in C(/etc/opt/csw/pkgutil.conf).

Returns:

  • (Object, nil)

    Specifies the repository path to install the package from.,Its global definition is done in C(/etc/opt/csw/pkgutil.conf).



17
# File 'lib/ansible/ruby/modules/generated/extras/packaging/os/pkgutil.rb', line 17

attribute :site

#state:present, ...

Returns 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.,Note: The module has a limitation that (C(latest)) only works for one package, not lists of them.

Returns:

  • (:present, :absent, :latest)

    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.,Note: The module has a limitation that (C(latest)) only works for one package, not lists of them.



20
# File 'lib/ansible/ruby/modules/generated/extras/packaging/os/pkgutil.rb', line 20

attribute :state

#update_catalogBoolean?

Returns If you want to refresh your catalog from the mirror, set this to (C(yes)).

Returns:

  • (Boolean, nil)

    If you want to refresh your catalog from the mirror, set this to (C(yes)).



24
# File 'lib/ansible/ruby/modules/generated/extras/packaging/os/pkgutil.rb', line 24

attribute :update_catalog