cookbook 'homebrew_packages', '= 0.3.0'
homebrew_packages
(17) Versions
0.3.0
-
Follow1
Install and updates homebrew packages defined in attributes.
cookbook 'homebrew_packages', '= 0.3.0', :supermarket
knife supermarket install homebrew_packages
knife supermarket download homebrew_packages
Homebrew Packages
Manages homebrew packages through attributes.
Requirements
Platforms
mac_os_x
Chef
- Chef 12.0 or later
Attributes
Determine if failures should be ignored(Default: false
):
{ "homebrew_packages" : { "ignore_failure" : true } }
Global install options that will be run with each choco install (Default: []
)
{ "homebrew_packages" : { "install_options" : [ "--debug" ] } }
Define packages:
{ "homebrew_packages" : { "packages" : { "vim": { "action": "8.0.0311" }, "wget": { "action": "upgrade" }, "nginx": { "action": "install", "install_options": [ "--only-dependencies" ] }, "sl": { "action": "purge" }, "google-chrome": { "action": "upgrade", "cask": true } } } }
The action
field follows the same actions as this documentation, it also can take a version number.
Usage
homebrew_packages::default
Just include homebrew_packages
in your node's run_list
:
{ "name":"my_node", "run_list": [ "recipe[homebrew_packages]" ] }
Dependent cookbooks
homebrew >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
License Metric
0.3.0 passed this metric
0.3.0 passed this metric