You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue i’m trying to solve is aws instances provisioned through terraform do not have ec2.json (/etc/chef/ohai/hints/ec2.json ) hint file. Some of our chef recipes use ec2 specific attributes from ohai
The text was updated successfully, but these errors were encountered:
@a13x212 a very easy and fast fix is to upload the hints file with the file provisioner before executing the chef provisioner (you can configure multiple provisioners which will be executed in order of declaration).
A more permanent (but still easy) fix would be adding a new option to the chef provisioner to specify a list of hint files to upload.
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
ghost
locked and limited conversation to collaborators
May 2, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Feature request: Add Ohai Hints to Chef Provisioner
https://docs.chef.io/ohai.html#hints
The issue i’m trying to solve is aws instances provisioned through terraform do not have ec2.json (/etc/chef/ohai/hints/ec2.json ) hint file. Some of our chef recipes use ec2 specific attributes from ohai
The text was updated successfully, but these errors were encountered: