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

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

Instance Method Summary collapse

Methods inherited from Base

#to_h

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

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

Constructor Details

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

Instance Method Details

#category:true, ...

Returns Install/Remove category instead of a single package.

Returns:

  • (:true, :false, nil)

    Install/Remove category instead of a single package.



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

attribute :category

#nameString

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

Returns:

  • (String)

    Package name, e.g. C(SUNWcsr)



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

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.



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

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)



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

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.



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

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.



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

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.



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

attribute :zone