Class: Ansible::Ruby::Modules::Pkgutil
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Pkgutil
- 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
-
#name ⇒ String
Package name, e.g.
-
#site ⇒ String?
Specifies the repository path to install the package from.,Its global definition is done in C(/etc/opt/csw/pkgutil.conf).
-
#state ⇒ :present, ...
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.
-
#update_catalog ⇒ Boolean?
If you want to refresh your catalog from the mirror, set this to (C(yes)).
Methods inherited from Base
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
#name ⇒ String
Returns Package name, e.g. (C(CSWnrpe)).
14 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/pkgutil.rb', line 14 attribute :name |
#site ⇒ String?
Returns 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.
22 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/pkgutil.rb', line 22 attribute :state |
#update_catalog ⇒ Boolean?
Returns 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 |