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

Make ohai work with Chef 12.7 and below #768

Merged
merged 1 commit into from
Mar 9, 2016
Merged

Make ohai work with Chef 12.7 and below #768

merged 1 commit into from
Mar 9, 2016

Conversation

jkeiser
Copy link
Contributor

@jkeiser jkeiser commented Mar 9, 2016

No description provided.

@danielsdeleo
Copy link
Contributor

👍

if ChefConfig::PathHelper.respond_to?(:escape_glob_dir)
escaped = ChefConfig::PathHelper.escape_glob_dir(plugin_dir)
else
# Does not exist in 12.7 or below
Copy link
Contributor

Choose a reason for hiding this comment

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

maybe "escape_glob_dir does not exist on Chef 12.7 or below" just to be extra clear?

@ksubrama
Copy link

ksubrama commented Mar 9, 2016

👍 Thank you @jkeiser

@tas50 tas50 deleted the jk/chef-12.7 branch April 22, 2016 18:27
@thommay thommay added Type: Bug Does not work as expected. and removed Bug labels Jan 24, 2017
@chef chef locked and limited conversation to collaborators Nov 16, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Type: Bug Does not work as expected.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants