Support making Chocolatey better! Kickstarter - The Chocolatey Experience
Install Chocolatey with the default recipe and manage packages with a handy resource/provider.
- Windows
- Chef 11.6 or greater
- windows (~> 1.31)
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.
node['chocolatey']['Uri']
- Defaults to"https://chocolatey.org/install.ps1"
.node['chocolatey']['upgrade']
- Defaults to"true"
.
- chocolatey::default
- install: Install a chocolatey package (default)
- remove: Uninstall a chocolatey package
- upgrade: Update a chocolatey package
- package: package to manage (default name)
- source:
- version: The version of the package to use.
- args: arguments to the installation.
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'
Maintainer:: Guilhem Lettron ([email protected])
License:: Apache 2.0