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

Missing cookbook Chai #232

Closed
cstrong84 opened this issue Dec 11, 2018 · 1 comment
Closed

Missing cookbook Chai #232

cstrong84 opened this issue Dec 11, 2018 · 1 comment
Labels

Comments

@cstrong84
Copy link

I downloaded and created the cookbook. However, when I run it, i get the following error:
Missing Cookbooks:

The following cookbooks are required by the client but don't exist on the server:

  • ohai

If I grep in the code for this cookbook requirement, it does not exist:
Path: /home//base_linux_install/cookbooks/os-hardening
Grep for entry of chai:
grep -Ri chai *
CONTRIBUTING.md:7. [Squash][rebase-squash] your commits to a small amount of logical separated commits (e.g. to avoid commits with something like "reverted or fixed last commit" in the commit chain)

Where is it getting the chair requirement from?

@Rockstar04
Copy link
Member

The cookbook needed is "Ohai". It can be found on the supermarket, ohai Cookbook

The cookbook is not directly reference in the code here, because Ohai is used to gather information about the operating system the cookbook is going to be run against. Without the data from Ohai, the cookbook would not know what specific hardening patches to apply.

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

No branches or pull requests

3 participants