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

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/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, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates

Constructor Details

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

Instance Method Details

#nameString

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

Returns:

  • (String)

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



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

attribute :name

#siteString?

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

Returns:

  • (String, nil)

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



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

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.



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

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)).



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

attribute :update_catalog