cookbook 'homebrew_packages', '~> 0.4.1'
homebrew_packages
(17) Versions
0.4.1
-
Follow1
Install and updates homebrew packages defined in attributes.
cookbook 'homebrew_packages', '~> 0.4.1', :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.4.1 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.4.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.4.1 passed this metric
No Binaries Metric
0.4.1 passed this metric
Testing File Metric
0.4.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.4.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.4.1 failed this metric
0.4.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.4.1 passed this metric
No Binaries Metric
0.4.1 passed this metric
Testing File Metric
0.4.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.4.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.4.1 passed this metric
0.4.1 passed this metric
Testing File Metric
0.4.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.4.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.4.1 failed this metric
0.4.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number