Class: Ansible::Ruby::Modules::Slackpkg
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Slackpkg
- Defined in:
- lib/ansible/ruby/modules/generated/packaging/os/slackpkg.rb
Overview
Manage binary packages for Slackware using ‘slackpkg’ which is available in versions after 12.2.
Instance Method Summary collapse
-
#name ⇒ Array<String>, String
Name of package to install/remove.
-
#state ⇒ :present, ...
State of the package, you can use “installed” as an alias for C(present) and removed as one for C(absent).
-
#update_cache ⇒ Symbol?
Update the package database first.
Methods inherited from Base
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
#name ⇒ Array<String>, String
Returns name of package to install/remove.
12 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/slackpkg.rb', line 12 attribute :name |
#state ⇒ :present, ...
Returns state of the package, you can use “installed” as an alias for C(present) and removed as one for C(absent).
16 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/slackpkg.rb', line 16 attribute :state |
#update_cache ⇒ Symbol?
Returns update the package database first.
20 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/slackpkg.rb', line 20 attribute :update_cache |