cookbook 'homebrew_packages', '= 0.1.1', :supermarket
homebrew_packages
(17) Versions
0.1.1
-
Follow1
Install and updates homebrew packages defined in attributes.
cookbook 'homebrew_packages', '= 0.1.1'
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"
}
}
}
}
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
This cookbook has no specified dependencies.
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
0.1.1 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Foodcritic Metric
0.1.1 failed this metric
FC052: Metadata uses the unimplemented "suggests" keyword: homebrew_packages/metadata.rb:12
Run with Foodcritic Version 8.2.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
License Metric
0.1.1 passed this metric
Publish Metric
0.1.1 passed this metric
Supported Platforms Metric
0.1.1 passed this metric
0.1.1 failed this metric
0.1.1 failed this metric
FC052: Metadata uses the unimplemented "suggests" keyword: homebrew_packages/metadata.rb:12
Run with Foodcritic Version 8.2.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
License Metric
0.1.1 passed this metric
Publish Metric
0.1.1 passed this metric
Supported Platforms Metric
0.1.1 passed this metric
0.1.1 passed this metric
0.1.1 passed this metric
Supported Platforms Metric
0.1.1 passed this metric
0.1.1 passed this metric