Class: Ansible::Ruby::Modules::Pkgin
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Pkgin
- Defined in:
- lib/ansible/ruby/modules/generated/extras/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 ⇒ Boolean?
Clean packages cache.
-
#force ⇒ Boolean?
Force package reinstall.
-
#full_upgrade ⇒ Boolean?
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 ⇒ Boolean?
Update repository database.
-
#upgrade ⇒ Boolean?
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 ⇒ Boolean?
Returns Clean packages cache.
31 |
# File 'lib/ansible/ruby/modules/generated/extras/packaging/os/pkgin.rb', line 31 attribute :clean |
#force ⇒ Boolean?
Returns Force package reinstall.
35 |
# File 'lib/ansible/ruby/modules/generated/extras/packaging/os/pkgin.rb', line 35 attribute :force |
#full_upgrade ⇒ Boolean?
Returns Upgrade all packages to their newer versions.
27 |
# File 'lib/ansible/ruby/modules/generated/extras/packaging/os/pkgin.rb', line 27 attribute :full_upgrade |
#name ⇒ Array<String>, ...
Returns Name of package to install/remove;,multiple names may be given, separated by commas.
11 |
# File 'lib/ansible/ruby/modules/generated/extras/packaging/os/pkgin.rb', line 11 attribute :name |
#state ⇒ :present, ...
Returns Intended state of the package.
15 |
# File 'lib/ansible/ruby/modules/generated/extras/packaging/os/pkgin.rb', line 15 attribute :state |
#update_cache ⇒ Boolean?
Returns Update repository database. Can be run with other steps or on it’s own.
19 |
# File 'lib/ansible/ruby/modules/generated/extras/packaging/os/pkgin.rb', line 19 attribute :update_cache |
#upgrade ⇒ Boolean?
Returns Upgrade main packages to their newer versions.
23 |
# File 'lib/ansible/ruby/modules/generated/extras/packaging/os/pkgin.rb', line 23 attribute :upgrade |