Commit db1936f3 authored by Matt Wrock's avatar Matt Wrock
Browse files

Merge pull request #74 from chocolatey/12_4

fixes #73 allowing chocolatey to install on older chef clients
parents 136e5204 62968661
# Changelog for Chocolatey cookbook
### v0.6.2 (2016-01-07)
* Fix Chocolatey detection on chef clients older than 12.4.0
### v0.6.1 (2015-11-24)
* Fix LocalJumpError on existing chocolatey package
......
module Chocolatey
module Helpers
# include the PowershellOut module from the windows cookbook
# in case we are running an older chef client
include Chef::Mixin::PowershellOut
# Get the ChocolateyInstall directory from the environment.
def chocolatey_install
ENV.fetch('ChocolateyInstall') { |env_var| machine_env_var(env_var) }
......
......@@ -4,7 +4,7 @@ maintainer_email 'guilhem.lettron@youscribe.com'
license 'Apache 2.0'
description 'Install chocolatey and packages on Windows'
long_description 'Installs the Chocolatey package manager for Windows and provides a Chef resource for installing nuget packages from https://chocolatey.org/'
version '0.6.1'
version '0.6.2'
source_url 'https://github.com/chocolatey/chocolatey-cookbook' if defined?(:source_url)
issues_url 'https://github.com/chocolatey/chocolatey-cookbook/issues' if defined?(:issues_url)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment