Class: Ansible::Ruby::Modules::Portinstall
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Portinstall
- Defined in:
- lib/ansible/ruby/modules/generated/packaging/os/portinstall.rb
Overview
Manage packages for FreeBSD using ‘portinstall’.
Instance Method Summary collapse
-
#name ⇒ Array<String>, String
Name of package to install/remove.
-
#state ⇒ :present, ...
State of the package.
-
#use_packages ⇒ Boolean?
Use packages instead of ports whenever available.
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 ⇒ Array<String>, String
Returns name of package to install/remove.
12 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/portinstall.rb', line 12 attribute :name |
#state ⇒ :present, ...
Returns state of the package.
16 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/portinstall.rb', line 16 attribute :state |
#use_packages ⇒ Boolean?
Returns use packages instead of ports whenever available.
20 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/portinstall.rb', line 20 attribute :use_packages |