cookbook 'chocolatey', '= 0.4.0'
chocolatey
(25) Versions
0.4.0
-
Follow61
Install Chocolatey on Windows
cookbook 'chocolatey', '= 0.4.0', :supermarket
knife supermarket install chocolatey
knife supermarket download chocolatey
Description
Install Chocolatey with the default recipe and manage packages with a handy resource/provider.
Requirements
Platform:
- Windows
- Chef 11.6 or greater
Cookbooks:
- windows (~> 1.31)
Notes
As of Chocolatey version
0.9.8.24
the install directory for Chocolatey has changed from C:\Chocolatey
to
C:\ProgramData\Chocolatey
.
More information can be gotten from the Chocolateywiki.
Attributes
-
node['chocolatey']['Uri']
- Defaults to"https://chocolatey.org/install.ps1"
. -
node['chocolatey']['upgrade']
- Defaults to"true"
.
Recipes
- chocolatey::default
Resources
chocolatey
Actions
- install: Install a chocolatey package (default)
- remove: Uninstall a chocolatey package
- upgrade: Update a chocolatey package
Attribute Parameters
- package: package to manage (default name)
- source:
- version: The version of the package to use.
- args: arguments to the installation.
Examples
include_recipe 'chocolatey' %w{sysinternals 7zip notepadplusplus GoogleChrome Console2}.each do |pack| chocolatey pack end %w{bash openssh grep}.each do |pack| chocolatey pack do source 'cygwin' end end chocolatey 'DotNet4.5' chocolatey 'PowerShell'
License and Maintainer
Maintainer:: Guilhem Lettron (guilhem@lettron.fr)
License:: Apache 2.0
chocolatey
v0.1.0 (2014-02-20)
- Fix and tests
v0.0.5 (2013-04-30)
- Initial release
Foodcritic Metric
0.4.0 failed this metric
FC031: Cookbook without metadata file: /tmp/cook/4b8b47a94986d763401b8867/chocolatey/metadata.rb:1
FC045: Consider setting cookbook name in metadata: /tmp/cook/4b8b47a94986d763401b8867/chocolatey/metadata.rb:1
0.4.0 failed this metric
FC045: Consider setting cookbook name in metadata: /tmp/cook/4b8b47a94986d763401b8867/chocolatey/metadata.rb:1