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

Chef OHAI configuration changed. Plugin was generating a chef client … #21

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

ghost
Copy link

@ghost ghost commented May 13, 2018

Chef OHAI configuration changed. Plugin was generating a chef client error. https://docs.chef.io/ohai.html#ohai-settings-in-client-rb

@jmi4
Copy link

jmi4 commented Sep 26, 2018

Is this still be developed, This PR has been open for over a year and I am hitting the same issue.
Building this gem locally with these changes resolves it for me

@ghost
Copy link
Author

ghost commented Sep 26, 2018

No, it does not look like the Author is maintaining this.

@@ -19,7 +19,7 @@ def call(env)
private
def ohai_custom_config(current_conf)
tmp = Tempfile.new(["chef-custom-config", ".rb"])
tmp.puts 'Ohai::Config[:plugin_path] << "/etc/chef/ohai_plugins"'
tmp.puts 'ohai.plugin_path << "/etc/chef/ohai_plugins"'

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants