Class: Ansible::Ruby::Modules::Macports
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Macports
- Defined in:
- lib/ansible/ruby/modules/generated/packaging/os/macports.rb
Overview
Manages MacPorts packages (ports)
Instance Method Summary collapse
-
#name ⇒ String
A list of port names.
-
#state ⇒ :present, ...
Indicates the desired state of the port.
-
#update_ports ⇒ :yes, ...
Update the ports tree first.
-
#variant ⇒ String?
A port variant specification.,C(variant) is only supported with state: I(installed)/I(present).
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 ⇒ String
Returns A list of port names.
12 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/macports.rb', line 12 attribute :name |
#state ⇒ :present, ...
Returns Indicates the desired state of the port.
16 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/macports.rb', line 16 attribute :state |
#update_ports ⇒ :yes, ...
Returns Update the ports tree first.
20 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/macports.rb', line 20 attribute :update_ports |
#variant ⇒ String?
Returns A port variant specification.,C(variant) is only supported with state: I(installed)/I(present).
24 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/macports.rb', line 24 attribute :variant |