ÖInfra Chef-Serverbook page (Infrastructure > Chief Server) allows you to connect existing Chef Infra servers to Chef Automate, view all connected Chef Infra servers, and manage all objects on your connected Chef Infra servers.
ÖInfra Chef-Serveracts as a hub for configuration data. Chef Infra Server savescookbooks, the policies appliedusand metadata describing each registered node managed by Chef Infra Client.
The nodes use the Chef Infra client to request configuration details such as recipes, templates, and file layouts from the Chef Infra server. Chef Infra Client does all possible configuration work on the nodes themselves (not on Chef Infra Server).
This scalable approach spreads the configuration effort across the organization.
The objects that you can manage through Chef Infra Server are:
- data pockets
- policy files
- policy group
Connect Chef Infra Server to Chef Automate
ÖInfra Chef-ServerThe panel starts with an empty list of servers.
To add existing Chef Infra servers to the Chef Automate infrastructure, selectAdd server bossrequesting the Chef Infra server name, FQDN and IP address:
Chef Automate will warn you if you enter an invalid FQDN or IP address:
Once that's done, selectAdd server bossand look at the server in the Chef Infra server list.
Connect a Chef organization to a Chef Infra server
To view a list of existing onesThe organizationOn a Chef Infra Server, select a Chef Infra Server from theChef-Serverlist, and then select theThe organizationInstruction as follows:
To create a new organization, see the documentation atConfigure a Chef Infra server.
To add an existing organization, selectAdd cooking organization, which will open a dialog box as shown below:
the introduceName,projects,Administrator, miChave-AdminFields with the same values provided when the organization is configured withAgain.Copy the contents of
~/.chef/USER.movefile and paste itChave-AdminField. then selectAdd cooking organizationto add the organization to the Chef Infra Server.
Access the Chef Infra server components
Manage the following Chef Infra Server components for an organization with Chef Automate:
- data pockets
To access these components for an organization, selectBoss Server > The Organizationand then select an organization. See the picture below:
Arecipe bookit is the fundamental unit of policy configuration and deployment. A cookbook contains recipes and other files, components, or directories.
Chef Infra Server lets you view:
- List of cookbooks with the latest version
- Different versions of a cookbook.
- content of a cookbook.
- Details of a cookbook
In Chef Infra Server you can view all the cookbooks in an organization. The latest version of the cookbooks will be mentioned in the listing.
Select a cookbook from the list to view the details of that cookbook.
Different versions of cookbooks.
To view different versions of a cookbook:
- Select a cookbook from the list.
- View the different versions of the cookbook using the drop-down list.
Contents of the cookbook
ChooseFelizTab to view recipes and other components of a cookbook. This view also contains the files or directories of the components. To view the contents of the cookbook, select the file from the Components list.
Details of a cookbook
ChoosedetailsTab to view requirements, usage, features and license.
functionsThey allow the definition of patterns and processes that exist in the nodes of an organization and pertain to a single job function. Each function consists of zero (or more) attributes and an execution list.
Chef Infra Server enables:
- create a function
- View all features
- Search for a specific feature
- See feature details:
- delete a role
create a role
To create a new role, selectcreate function:
selection ofcreate functionbutton opens a dialog box. The dialog contains four sections:details,Laufliste,Standardattribute, mireplace attributes. Enter the details in the possible sections and selectCreateto create a new role.
search for a function
use thesearch functionsBar to locate the existing function in the list of functions. Entering a role name in the search field returns roles that match your search criteria.
View Role Details
Select a specific role to view details for that specific role. It contains two tabs,detailsmiAttribute.
Ödetailscontains the playlist while the Attributes tab shows the playlist.StandardIt is inoverlapRole attribute.
you can edit itStandardmioverlapAttributes by selecting theeditPossibility. A pop-up window will open where you can make changes and selectSave on computer.
delete a role
Chef Infra Server allows you to remove existing roles individually. To remove a role, select the ellipse iconand thenExtinguish, as shown below:
LikeSurroundingsIt can be used to map the real world workflow of an organization to what can be configured and managed with Chef Infra. This mapping is achieved by defining attributes and setting environment-level cookbooks.
The Chef Infra Server user interface allows:
- create an environment
- View all environments
- Search for a specific environment
- View the details of an environment
- edit an environment
- delete an environment
create an environment
To create a new environment, selectcreate environment, as shown below:
selection ofcreate environmentbutton opens a dialog box. The dialog contains four sections:details,restrictions,Standardattribute, mireplace attributes. Enter the details in the possible sections and selectCreateto create a new environment.
look for an environment
use theresearch environments-Bar to search an existing environment in the list. If you enter a room name in the search field, rooms matching your search criteria will be displayed.
details of an environment.
Select a specific environment to view the constraints and cookbook attributes for that environment.
The selected bar contains the list of all cookbook restrictions withName, from themOperator, miexecutionor chooseeditto change itCookbook Restrictions.
The Attributes window shows all default values and overridesAttribute. chooseexpand allÖpick up everythingto show or hide the attributes. chooseeditto change itStandardattributemireplace attributes.
You can editCookbook RestrictionsIt is inAttributeonly for environments with aClientfor this reasonOrganisation.
delete an environment
With Chef Infra Server, you can only remove one environment at a time. chooseExtinguishClick the more info icon (three dots) to the far right of the environment you want to delete, as shown below:
data pocketsStore global variables as JSON data. The data packets are indexed for searching and can be carried by a cookbook or accessed during a search.
The Chef Infra Server user interface allows:
- Create a data bag
- Show all data packages
- Search for a specific data bag item
- Create a data bag item
- Edit a data package item
- Remove an item from the data package
- Delete a data package
Create a data package
To create a new data package, selectCreate data bag, as shown below:
selection ofCreate data bagbutton opens a dialog box. Enter the name and selectCreate.
Create a data bag item
To create a data package item, select the data package from the data package list and do the following:
choosecreate article, as shown below:
selection ofcreate articlebutton opens a dialog box. the introduceItem ID of the data bagand the details of the key-value pairs for that particular item. chooseCreate.
Search for an item
use theFind data bag itemsto find an item in the list of data package items. Entering an item name in the search bar returns items from the data store that match your search criteria.
Edit a data bag item
Select a specific data package item to view details. The information includes aI wanted, ya fromkey values. Chef Infra Server allows you to do thiseditan item from the databag.
To edit the details of the data package elements, chooseedit. In the dialog box, you can edit the details of each data store item. Once that's done, selectsave article.
Delete an item from the data bag
Select a specific data package item to view details. The information includes aI wantedthere is one ofkey values. Chef Infra Server allows you to do thisextinguishan item from the databag.
To remove an item from the data bag, selectExtinguish. Select in the dialog box that appearsExtinguishto remove the element from the data package.
Delete a data package
With Chef Infra Server you can remove existing data packages individually. To remove a data package, select the ellipse iconand thenExtinguish, as shown below:
Chef Infra clients provide secure API access to the Chef Infra server. The Chef Infra Server user interface allows:
- create a client
- Show all customers
- Search for a specific customer
- Resetting a customer key
- delete a customer
create a client
To create a new customer, selectCreate customer.
ÖCreate customerbutton opens a dialog box. the introduceCustomer Nameand selectValidierungs-Clientto create a validation client. chooseCreate.
chooseCreateopens a dialog with theprivate keythat particular customer. chooseDisposeto download theprivate key.
look for a customer
use thelooking for customersBar to find a customer in the customer list. Entering a customer's name in the search bar returns customers that match your search criteria.
A client's public key
Select the client to view thepublic keyfor this customer. Opublic keyof this client is displayed indetails.
With Chef Infra Server you canpublic keyUse ofReset-KnopfPossibility. selection ofReset-KnopfOption opens a warning messageThe current key is no longer accepted.
selection ofReset-Knopfshown in the screenshot above opens a new dialog containing the new clientprivate key. To download the new oneprivate key, chooseDispose.
delete a customer
Chef Infra Server allows you to remove existing clients individually. To remove a customer, select the ellipse iconand thenExtinguish, as shown below:
AIsis a device managed by Chef Infra. During execution of Chef Infra Client retrieves Infra ClientAttributewhich defines the expected state of the node and aLauflistewhich defines how a node in this state can be configured by the Infra-Server. Infra Client uses this information to update the node to the expected state.
The integration of Chef Infra Server enables:
- Search for a specific node
- see all nodes
- Details of a node
- Edit playlist
- Edit Attributes
- reference labels
- Resetting a node key
- delete a node
Search for a knot
Use the search bar on the About tab (Chef Infra-Server > About us) to find a node in the node list. Entering a node name in the search bar returns nodes that match your search criteria.
Details of a node
Select a specific node to view node information, metadata, and environment details for the node. The first section of the page has thenode informationif
policy group, mi
insurance name. You can see those toometadatafor the node containing the name of the
Chef-Server, and the name of
The information above looks similar to the following:
The next section of the page contains two options:
ÖdetailsThis section allows you to view and update the environment of the node. The drop-down list consists of the list of environments created on the Chef server. You can choose any environment for the selected node.
To select the environment:
Select the dropdown menu and the name of the environment.
You can add captions to the environment in the text bar below the drop-down menu.Monitoring:To add multiple tags at once, use a comma separator. Example: Label1, Label2, Label3.(Video) What is IT infrastructure?
When you select an environment, a pop-up window opens to save the node environment. chooseSave on computerto change the environment of the node.
You can edit, expand, or collapse a node's execution list.
Edit a playlist by:
chooseedit. A pop-up window will open.
The left side of the window contains the list of environments. Select an environment from the list.
The right side of the window shows the run list for the selected environment.
Select the runlist for a specific environment.
This will open a pop-up window similar to the following:
You can find the editing window directly by selecting the ellipse iconand thenEdit playlistof a specific node in the node list. Selecting the option will open a pop-up window for editing the playlist.
The Attributes window shows all default values and overridesAttribute. chooseexpand allÖpick up everythingto show or hide the attributes. chooseeditchange or update existing attributes.
You can find the editing window directly by selecting the ellipse iconand thenEdit Attributesof a specific node in the node list. Selecting the option opens a pop-up window for editing the attributes.
Chef Infra allows you to manage environment tags. You can add or remove multiple tags in two ways:
Select the node and add labels from the text bar under the Environment dropdown.
Select the ellipse iconand thenreference labelsfor a specific node. Add and remove tags in the tag editor and selectupdate tagsto save your changes.
Resetting a customer key
Reset a customer key by selecting the ellipse iconand thenReset-Knopfof a specific node in the node list. chooseReset-Knopfopen a noteThe current key is no longer accepted. chooseReset-Knopfagain to confirm.
delete a node
Delete individual existing nodes by selecting the ellipse iconand thenExtinguish:
policy filesThey are the preferred way to manage roles, environments, and community cookbook data with a single document uploaded to the Chef Infra server. Policy files allow you to test and promote code with a simpler interface.
The integration of Chef Infra Server enables:
- Look for specific policy files
- View all policy archives
- Look at the details of the policy files:
- Delete policy files
Browse policy files
Use the search bar on the Policy File tab (Chef Infra Server > Policy File) to find a policy file in the list. Enter a policy file name in the search bar to view the corresponding policy files.
Policy file details
Select a policy file to view itMETADATA,Feliz,Attribute,Revisions-ID, miCookbook Outhousethis policy file.
ÖFelizThe tab contains the list of all:
- guidelines included
- run lists
Select a specific policy file from theguidelines includedto see the details.
In the image above, the slider tab shows thedetailsthe selected policy file. Watch themRevisions-IDChoosereviewsoption on the tab.
Select a specific execution item from the execution list to view the details in a slider tab.
To view the cookbook details for the item, selectGo to the recipe book detailsoption on the tab.
ÖAttributetab shows theStandardIt is inoverlapAttributes of a policy file.
CanExpandmicollapseÖStandardmioverlapAttributes by selecting the option.
ChooseCookbook Outhousebutton to see alldependency rulesmirecipe bookthe policy file in spreadsheet format. Select a specific cookbook from the list to view the cookbook details.
Selecting a specific cookbook will take you to the audit area of therecipe bookmain guide.
The sliding tab contains the
You can find themRevisions-IDOpen window directly by selecting the ellipse icon of a policy file. Selecting the option opens a pop-up window with the detailed Revision ID.
Delete policy files
Delete individual policy files by selecting the ellipse iconand thenExtinguish:
The integration of Chef Infra Server enables:
- Find a policy group
- Show all policy groups
- View the details of a policy group
- policy files
Find a policy group
The search bar on the Policy Groups tab (Chef Infra Server > Policy Groups) searches for a policy group in the list. Enter the name of a policy group in the search bar to view matching policy groups.
View the details of a policy group
Select a policy group to view the policy group information and METADATA for that policy group.
Policy Files tab
The policy group details page displays the list ofpolicy files.
Select a policy file from the list to view its details.
If you select a specific policy file, you will be redirected to the policy details section.policy filesmain guide.
You can view the list on the policy group details pageUs.
Select a node from the list to view its details
Selecting a specific node opens the details pane of theUsab
You may find an error when searching for items such as cookbooks
Cookbooks could not be retrieved: The organization "no-org" does not exist, which means that the specified organization does not exist on the Chef Infra Server.
Create the organization with the knife command,
make opc org createor the Chef Infra Server CLI command,
chef-server-ctl org-create, then add theName,projects,Administrator, miChave-Adminto search for objects.