Class: Ansible::Ruby::Modules::Macports
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Macports
- Defined in:
- lib/ansible/ruby/modules/generated/extras/packaging/os/macports.rb
Overview
Manages MacPorts packages
Instance Method Summary collapse
-
#name ⇒ String
Name of package to install/remove.
-
#state ⇒ :present, ...
State of the package.
-
#update_cache ⇒ :yes, ...
Update the package db first.
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
#name ⇒ String
Returns name of package to install/remove.
11 |
# File 'lib/ansible/ruby/modules/generated/extras/packaging/os/macports.rb', line 11 attribute :name |
#state ⇒ :present, ...
Returns state of the package.
15 |
# File 'lib/ansible/ruby/modules/generated/extras/packaging/os/macports.rb', line 15 attribute :state |
#update_cache ⇒ :yes, ...
Returns update the package db first.
19 |
# File 'lib/ansible/ruby/modules/generated/extras/packaging/os/macports.rb', line 19 attribute :update_cache |