dev-sec / chef-os-hardening

This chef cookbook provides numerous security-related configurations, providing all-round base protection.
http://dev-sec.io/
Apache License 2.0
440 stars 133 forks source link

Missing cookbook Chai #232

Closed cstrong84 closed 5 years ago

cstrong84 commented 5 years ago

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:

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 commented 5 years ago

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.