Class: Ansible::Ruby::Modules::Pkgin

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

Overview

The standard package manager for SmartOS, but also usable on NetBSD or any OS that uses C(pkgsrc). (Home: U(pkgin.net/))

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

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

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

Constructor Details

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

Instance Method Details

#clean:yes, ...

Returns Clean packages cache.

Returns:

  • (:yes, :no, nil)

    Clean packages cache



32
# File 'lib/ansible/ruby/modules/generated/packaging/os/pkgin.rb', line 32

attribute :clean

#force:yes, ...

Returns Force package reinstall.

Returns:

  • (:yes, :no, nil)

    Force package reinstall



36
# File 'lib/ansible/ruby/modules/generated/packaging/os/pkgin.rb', line 36

attribute :force

#full_upgrade:yes, ...

Returns Upgrade all packages to their newer versions.

Returns:

  • (:yes, :no, nil)

    Upgrade all packages to their newer versions



28
# File 'lib/ansible/ruby/modules/generated/packaging/os/pkgin.rb', line 28

attribute :full_upgrade

#nameArray<String>, ...

Returns Name of package to install/remove;,multiple names may be given, separated by commas.

Returns:

  • (Array<String>, String, nil)

    Name of package to install/remove;,multiple names may be given, separated by commas



12
# File 'lib/ansible/ruby/modules/generated/packaging/os/pkgin.rb', line 12

attribute :name

#state:present, ...

Returns Intended state of the package.

Returns:

  • (:present, :absent, nil)

    Intended state of the package



16
# File 'lib/ansible/ruby/modules/generated/packaging/os/pkgin.rb', line 16

attribute :state

#update_cache:yes, ...

Returns Update repository database. Can be run with other steps or on it’s own.

Returns:

  • (:yes, :no, nil)

    Update repository database. Can be run with other steps or on it’s own.



20
# File 'lib/ansible/ruby/modules/generated/packaging/os/pkgin.rb', line 20

attribute :update_cache

#upgrade:yes, ...

Returns Upgrade main packages to their newer versions.

Returns:

  • (:yes, :no, nil)

    Upgrade main packages to their newer versions



24
# File 'lib/ansible/ruby/modules/generated/packaging/os/pkgin.rb', line 24

attribute :upgrade