Class: Ansible::Ruby::Modules::Homebrew_cask
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Homebrew_cask
- Defined in:
- lib/ansible/ruby/modules/generated/packaging/os/homebrew_cask.rb
Overview
Manages Homebrew casks.
Instance Method Summary collapse
-
#accept_external_apps ⇒ :yes, ...
Allow external apps.
-
#greedy ⇒ :yes, ...
Upgrade casks that auto update; passes –greedy to brew cask outdated when checking if an installed cask has a newer version available.
-
#install_options ⇒ Array<String>, ...
Options flags to install a package.
-
#name ⇒ String
Name of cask to install/remove.
-
#path ⇒ String?
‘:’ separated list of paths to search for ‘brew’ executable.
-
#state ⇒ :present, ...
State of the cask.
-
#update_homebrew ⇒ :yes, ...
Update homebrew itself first.
-
#upgrade ⇒ :yes, ...
Upgrade all casks (mutually exclusive with ‘upgrade_all`).
-
#upgrade_all ⇒ :yes, ...
Upgrade all casks (mutually exclusive with ‘upgrade`).
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
#accept_external_apps ⇒ :yes, ...
Returns allow external apps.
32 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/homebrew_cask.rb', line 32 attribute :accept_external_apps |
#greedy ⇒ :yes, ...
Returns upgrade casks that auto update; passes –greedy to brew cask outdated when checking if an installed cask has a newer version available.
44 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/homebrew_cask.rb', line 44 attribute :greedy |
#install_options ⇒ Array<String>, ...
Returns options flags to install a package.
28 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/homebrew_cask.rb', line 28 attribute :install_options |
#name ⇒ String
Returns name of cask to install/remove.
12 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/homebrew_cask.rb', line 12 attribute :name |
#path ⇒ String?
Returns ‘:’ separated list of paths to search for ‘brew’ executable.
16 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/homebrew_cask.rb', line 16 attribute :path |
#state ⇒ :present, ...
Returns state of the cask.
20 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/homebrew_cask.rb', line 20 attribute :state |
#update_homebrew ⇒ :yes, ...
Returns update homebrew itself first. Note that C(brew cask update) is a synonym for C(brew update).
24 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/homebrew_cask.rb', line 24 attribute :update_homebrew |
#upgrade ⇒ :yes, ...
Returns upgrade all casks (mutually exclusive with ‘upgrade_all`).
40 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/homebrew_cask.rb', line 40 attribute :upgrade |
#upgrade_all ⇒ :yes, ...
Returns upgrade all casks (mutually exclusive with ‘upgrade`).
36 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/homebrew_cask.rb', line 36 attribute :upgrade_all |