Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[test me] compile_time works with Chef 11/12 including chef-sugar #110
The test recipe is the following (please note that this is the patched aws from this PR, with a little difference to trigger warning, see below):
include_recipe 'chef-sugar' include_recipe 'aws'
chef_gem 'aws-sdk' do version node['aws']['aws_sdk_version'] if Chef::Resource::ChefGem.instance_methods(false).include?(:compile_time) compile_time end action :install end
Here are my results:
Chef 12.1.0.dev.0, without specifying
Chef 12.0.3, don't see any log, but both gems are installed:
Chef 11.16.4, don't see any log, but both gems are installed:
Chef 11.18.6, don't see any log, but both gems are installed:
I also tried with
I'm mostly breaking "something" as I don't see the resource being listed in the log but hopefully it helps.