Class: Ansible::Ruby::Modules::Svr4pkg
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Svr4pkg
- Defined in:
- lib/ansible/ruby/modules/generated/packaging/os/svr4pkg.rb
Overview
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.
Instance Method Summary collapse
-
#category ⇒ Symbol?
Install/Remove category instead of a single package.
-
#name ⇒ String
Package name, e.g.
-
#proxy ⇒ Object?
HTTP proxy to be used if C(src) is a URL.
-
#response_file ⇒ String?
Specifies the location of a response file to be used if package expects input on install.
-
#src ⇒ String?
Specifies the location to install the package from.
-
#state ⇒ :present, :absent
Whether to install (C(present)), or remove (C(absent)) a package.,If the package is to be installed, then I(src) is required.,The SVR4 package system doesn’t provide an upgrade operation.
-
#zone ⇒ :current, ...
Whether to install the package only in the current zone, or install it into all zones.,The installation into all zones works only if you are working with the global zone.
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
#category ⇒ Symbol?
Returns Install/Remove category instead of a single package.
37 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/svr4pkg.rb', line 37 attribute :category |
#name ⇒ String
Returns Package name, e.g. C(SUNWcsr).
14 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/svr4pkg.rb', line 14 attribute :name |
#proxy ⇒ Object?
Returns HTTP proxy to be used if C(src) is a URL.
26 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/svr4pkg.rb', line 26 attribute :proxy |
#response_file ⇒ String?
Returns Specifies the location of a response file to be used if package expects input on install. (added in Ansible 1.4).
29 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/svr4pkg.rb', line 29 attribute :response_file |
#src ⇒ String?
Returns Specifies the location to install the package from. Required when C(state=present).,Can be any path acceptable to the C(pkgadd) command’s C(-d) option. e.g.: C(somefile.pkg), C(/dir/with/pkgs), C(server/mypkgs.pkg).,If using a file or directory, they must already be accessible by the host. See the M(copy) module for a way to get them there.
22 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/svr4pkg.rb', line 22 attribute :src |
#state ⇒ :present, :absent
Returns Whether to install (C(present)), or remove (C(absent)) a package.,If the package is to be installed, then I(src) is required.,The SVR4 package system doesn’t provide an upgrade operation. You need to uninstall the old, then install the new package.
18 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/svr4pkg.rb', line 18 attribute :state |
#zone ⇒ :current, ...
Returns Whether to install the package only in the current zone, or install it into all zones.,The installation into all zones works only if you are working with the global zone.
33 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/svr4pkg.rb', line 33 attribute :zone |