Class: Ansible::Ruby::Modules::Pkgin
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Pkgin
- 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
-
#clean ⇒ :yes, ...
Clean packages cache.
-
#force ⇒ :yes, ...
Force package reinstall.
-
#full_upgrade ⇒ :yes, ...
Upgrade all packages to their newer versions.
-
#name ⇒ Array<String>, ...
Name of package to install/remove;,multiple names may be given, separated by commas.
-
#state ⇒ :present, ...
Intended state of the package.
-
#update_cache ⇒ :yes, ...
Update repository database.
-
#upgrade ⇒ :yes, ...
Upgrade main packages to their newer versions.
Methods inherited from Base
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.
32 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/pkgin.rb', line 32 attribute :clean |
#force ⇒ :yes, ...
Returns 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.
28 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/pkgin.rb', line 28 attribute :full_upgrade |
#name ⇒ Array<String>, ...
Returns 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.
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.
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.
24 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/pkgin.rb', line 24 attribute :upgrade |