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

Provisioner Chef - Ohai Hints #2313

Closed
a13x212 opened this issue Jun 11, 2015 · 2 comments · Fixed by #2487
Closed

Provisioner Chef - Ohai Hints #2313

a13x212 opened this issue Jun 11, 2015 · 2 comments · Fixed by #2487

Comments

@a13x212
Copy link

a13x212 commented Jun 11, 2015

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

@svanharmelen
Copy link
Contributor

@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.

@ghost
Copy link

ghost commented May 2, 2020

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 ghost locked and limited conversation to collaborators May 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants