Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set compile_time when using chef_gem resource #196

Merged
merged 2 commits into from Apr 17, 2015

Conversation

Projects
None yet
1 participant
@miketheman
Copy link
Collaborator

miketheman commented Apr 9, 2015

In Chef 12, the compile_time behavior flag was added, leading to WARN
messages showing up in the Chef Client execution.

Since the current method to invoke a handler is via a recipe, we need to
install the gem during compile time to allow loading the handler to
caputer execution items.

See https://www.chef.io/blog/2015/02/17/chef-12-1-0-chef_gem-resource-warnings/
for more details on the new flag.

Fixes #189

miketheman added some commits Apr 9, 2015

Set compile_time when using chef_gem resource
In Chef 12, the compile_time behavior flag was added, leading to WARN
messages showing up in the Chef Client execution.

Since the current method to invoke a handler is via a recipe, we need to
install the gem during compile time to allow loading the handler to
caputer execution items.

See https://www.chef.io/blog/2015/02/17/chef-12-1-0-chef_gem-resource-warnings/
for more details on the new flag.

Fixes #189

@miketheman miketheman force-pushed the miketheman/compile_time branch from fd14037 to 7e81689 Apr 9, 2015

@miketheman miketheman added the optimize label Apr 9, 2015

@miketheman miketheman added this to the Next minor milestone Apr 9, 2015

@miketheman miketheman self-assigned this Apr 9, 2015

miketheman added a commit that referenced this pull request Apr 17, 2015

Merge pull request #196 from DataDog/miketheman/compile_time
Set compile_time when using chef_gem resource

@miketheman miketheman merged commit f0cb18e into master Apr 17, 2015

2 checks passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details

@miketheman miketheman deleted the miketheman/compile_time branch Apr 20, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.