Class: Ansible::Ruby::Modules::Svr4pkg

Inherits:
Base show all
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

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

#categorySymbol?

Returns Install/Remove category instead of a single package.

Returns:

  • (Symbol, nil)

    Install/Remove category instead of a single package.



37
# File 'lib/ansible/ruby/modules/generated/packaging/os/svr4pkg.rb', line 37

attribute :category

#nameString

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

Returns:

  • (String)

    Package name, e.g. C(SUNWcsr)



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

attribute :name

#proxyObject?

Returns HTTP proxy to be used if C(src) is a URL.

Returns:

  • (Object, nil)

    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_fileString?

Returns Specifies the location of a response file to be used if package expects input on install. (added in Ansible 1.4).

Returns:

  • (String, nil)

    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

#srcString?

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.

Returns:

  • (String, nil)

    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.

Returns:

  • (: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. 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.

Returns:

  • (:current, :all, nil)

    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