cookbook 'chocolatey', '= 0.2.0'
chocolatey
(25) Versions
0.2.0
-
Follow60
Install Chocolatey on Windows
cookbook 'chocolatey', '= 0.2.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@youscribe.com)
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.2.0 failed this metric
FC009: Resource attribute not recognised: /tmp/cook/659f2bf75eebb5572842019a/chocolatey/recipes/default.rb:27
0.2.0 failed this metric