cookbook 'homebrew_packages', '= 0.3.4'
homebrew_packages
(17) Versions
0.3.4
-
Follow1
Install and updates homebrew packages defined in attributes.
cookbook 'homebrew_packages', '= 0.3.4', :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.
Collaborator Number Metric
0.3.4 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Foodcritic Metric
0.3.4 passed this metric
License Metric
0.3.4 passed this metric
0.3.4 failed this metric
0.3.4 passed this metric
License Metric
0.3.4 passed this metric
0.3.4 passed this metric