Skip to content

Commit

Permalink
Fix for chef 11 and add chef 11 kitchen tests
Browse files Browse the repository at this point in the history
  • Loading branch information
onlyhavecans committed May 6, 2015
1 parent 384eb98 commit 5815a59
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions .kitchen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,10 @@ suites:
- recipe[chef_server_backup::default]
- recipe[chef_server_backup::build_jobs]
attributes:
- name: chef11
driver:
require_chef_omnibus: 11.18.12
run_list:
- recipe[chef_server_backup::default]
- recipe[chef_server_backup::build_jobs]
attributes:
2 changes: 1 addition & 1 deletion metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
license 'BSD 3-Clause'
description 'Sets up automated chef-server backups using knife-backup'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '1.0.1'
version '1.0.3'

depends 'cron'
2 changes: 1 addition & 1 deletion recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@

chef_gem 'knife-backup' do # ~FC009
action [:install]
compile_time false
compile_time false if Chef::Resource::ChefGem.instance_methods(false).include?(:compile_time) # For Chef 11
version node['chef_server_backup']['knife-backup']['version']
end

0 comments on commit 5815a59

Please sign in to comment.