cookbook 'yacc', '~> 0.9.0', :supermarket
yacc
(30) Versions
0.9.0
-
Follow0
YACC (Yet Another Chocolatey Cookbook), Manages many chocolatey packages through attributes.
cookbook 'yacc', '~> 0.9.0'
knife supermarket install yacc
knife supermarket download yacc
YACC (Yet Another Chocolatey Cookbook)
Manages chocolatey packages through attributes.
Requirements
Depends
- chocolatey ~> 1.2.0
Platforms
- Windows
Chef
- Chef 12.0 or later
Attributes
Choco Free Features
Set the chocolatey default sources:
Default:
json
{
"chocolatey": {
"source": "https://chocolatey.org/api/v2/",
"action": "present",
"priority": 0
}
}
Example:
{
"yacc" : {
"default_sources" : {
"private": {
"source": "https://repo.private.com/api/v2/",
"action": "present",
"user": "some_user",
"password": "some_password",
"priority": 1
},
"private2": {
"source": "https://repo2.private.com/api/v2/",
"action": "disabled",
"priority": 99
},
"private3": {
"source": "https://repo3.private.com/api/v2/",
"action": "absent",
"priority": 100
},
"chocolatey": {
"source": "https://chocolatey.org/api/v2/",
"action": "present",
"priority": 0
}
}
}
}
Set config options(Default: {}
):
Valid actions: set|unset
Example:
{
"yacc" : {
"config" : {
"cacheLocation": {
"action": "set",
"value": "C:\\tmp"
}
}
}
}
Determine if failures should be ignored(Default: false
):
{
"yacc" : {
"ignore_failure" : true
}
}
Global install options that will be run with each choco install (Default: {}
)
{
"yacc" : {
"install_options" : [
"--cachelocation C:\\tmp"
]
}
}
Define packages:
{
"yacc" : {
"packages" : {
"googlechrome": {
"action": "56.0.2924.76",
"install_options": [
"--ignorechecksum",
"--allow-downgrade"
]
},
"firefox": {
"action": "upgrade"
},
"chocolateygui": {
"action": "purge"
}
}
}
}
The action
field follows the same actions as this documentation, it also can take a version number.
Choco Business Features
Synchronize all installed software with Chocolatey (** requires Chocolatey for Business **):
(Default: false
)
{
"yacc" : {
"business" : {
"synchronize": true
}
}
}
Uninstall arbitrary software from programs and features (** requires Chocolatey for Business **):
{
"yacc" : {
"business" : {
"uninstall_from_programs": [
"NSClient++ (x64)",
"Puppet *"
]
}
}
}
Optimize the Choco packages and the cache by removing unused files and reducing package file sizes (** requires Chocolatey for Business **):
(Default: false
)
{
"yacc" : {
"business" : {
"optimize": true
}
}
}
Usage
yacc::default
Just include yacc
in your node's run_list
:
{
"name":"my_node",
"run_list": [
"recipe[yacc]"
]
}
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
0.9.0 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.9.0 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.9.0 passed this metric
No Binaries Metric
0.9.0 passed this metric
Publish Metric
0.9.0 passed this metric
Supported Platforms Metric
0.9.0 passed this metric
Testing File Metric
0.9.0 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.9.0 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.9.0 failed this metric
0.9.0 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.9.0 passed this metric
No Binaries Metric
0.9.0 passed this metric
Publish Metric
0.9.0 passed this metric
Supported Platforms Metric
0.9.0 passed this metric
Testing File Metric
0.9.0 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.9.0 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.9.0 passed this metric
0.9.0 passed this metric
Publish Metric
0.9.0 passed this metric
Supported Platforms Metric
0.9.0 passed this metric
Testing File Metric
0.9.0 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.9.0 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.9.0 passed this metric
0.9.0 passed this metric
Testing File Metric
0.9.0 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.9.0 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.9.0 failed this metric
0.9.0 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