Install Chocolatey with the default recipe and manage package with LWRP
Work on Windows
This cookbook includes LWRPs for managing:
- chocolatey
- :install: Install a chocolatey package (default)
- :upgrade: Update a chocolatey package
- :remove: Uninstall a chocolatey package
- package_name: string or package to manage
- package: package to manage (default package_name)
- version
- source
- 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"