SOFTWARE ENGINEERING

SOFTWARE PROJECT MANAGEMENT

CONFIGURATION MANAGEMENT

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
What statement correctly describes the Ohai tool in the Chef Development Kit?
A
Ohai is a dependency management tool
B
Ohai is used to interact with the Chef Server, including uploading code from a workstation or setting global variables
C
Ohai gathers attributes about a node which are then accessible to you in code.
D
Ohai generates different code templates and installs gems into the development kit environment.
Explanation: 

Detailed explanation-1: -An automatic attribute comprises data that Ohai identifies. At the start of each Chef Infra Client execution. An automatic attribute cannot be changed and always precedes all other attributes.

Detailed explanation-2: -The Chef server stores cookbooks, the policies that are applied to nodes, and metadata that describes each registered node that is being managed by the chef-client. Nodes use the chef-client to ask the Chef server for configuration details, such as recipes, templates, and file distributions.

Detailed explanation-3: -The Ohai Source Code These are located in the lib/ohai/plugins directory in the repository.

There is 1 question to complete.