Skip to content

Commit

Permalink
Update Audit cookbook to support ChefClient14.
Browse files Browse the repository at this point in the history
Signed-off-by: Jared Quick <jquick@chef.io>
  • Loading branch information
jquick committed Apr 18, 2018
1 parent 334fb9d commit 60ecc89
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion .kitchen.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
driver:
name: dokken
chef_version: 13.8.5
privileged: true # because Docker and SystemD/Upstart

transport:
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
source 'https://rubygems.org'

gem 'chef', '>= 12.5.1', '<14.0.0'
gem 'chef', '>= 12.5.1'

if Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.2.2')
gem 'json', '~> 1.8'
Expand Down
2 changes: 1 addition & 1 deletion resources/inspec_gem.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

if installation_required
converge_by 'install latest InSpec version' do
install_inspec_gem(version: version, source: source)
install_inspec_gem(version: new_resource.version, source: new_resource.source)
end
else
Chef::Log.info("inspec_gem: not installing InSpec. It's already installed or an explicit version was not supplied.")
Expand Down

0 comments on commit 60ecc89

Please sign in to comment.