Skip to content

Commit

Permalink
Add compatibility with chef-sugar for detecting compile_time method
Browse files Browse the repository at this point in the history
  • Loading branch information
workeitel committed Feb 4, 2016
1 parent f35454f commit dae1b1d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions s3_file/recipes/dependencies.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
chef_gem 'rest-client' do
version node['s3_file']['rest-client']['version']
action :install
compile_time true if Chef::Resource::ChefGem.instance_methods(false).include?(:compile_time)
end

0 comments on commit dae1b1d

Please sign in to comment.