cookbook 'chocolatey_packages', '~> 1.0.0'
chocolatey_packages (1) Versions 1.0.0 Follow3
A cookbook that installs a list of chocolatey_packages through attributes.
cookbook 'chocolatey_packages', '~> 1.0.0', :supermarket
knife supermarket install chocolatey_packages
knife supermarket download chocolatey_packages
chocolatey_packages Cookbook
A cookbook that installs a list of chocolatey_packages through attributes.
Usage
Include the default recipe in your runlist and set the attributes
Attributes
Required
node['chocolatey_packages']['packages'] = {'googlechrome': '55.0.2883.87', 'notepadplusplus.install': '7.2.2', 'winrar' : 'latest', 'git' : '2.11.0'}
This will be a hash with the packagename : version
as the elements. If you don't care about version, set it to latest
and the cookbook will download the latest version.
Optional
-
node[chocolatey_packages']['source']
- The source to download from, defaults to community feed -
node[chocolatey_packages']['ignore_failure']
- Whether or not to ignore failures, defaults to false
See Also
- The cookbook Packages does something similar on Linux. Dosen't work with Chocolatey though.
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
1.0.0 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
1.0.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
1.0.0 failed this metric
FC066: Ensure chef_version is set in metadata: chocolatey_packages/metadata.rb:1
FC069: Ensure standardized license defined in metadata: chocolatey_packages/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
1.0.0 passed this metric
Testing File Metric
1.0.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
1.0.0 passed this metric
1.0.0 failed this metric
1.0.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
1.0.0 failed this metric
FC066: Ensure chef_version is set in metadata: chocolatey_packages/metadata.rb:1
FC069: Ensure standardized license defined in metadata: chocolatey_packages/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
1.0.0 passed this metric
Testing File Metric
1.0.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
1.0.0 passed this metric
1.0.0 failed this metric
FC069: Ensure standardized license defined in metadata: chocolatey_packages/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
1.0.0 passed this metric
Testing File Metric
1.0.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
1.0.0 passed this metric
1.0.0 failed this metric
1.0.0 passed this metric