How to Clean up the Chef-Server in basic commands
Clean up the Chef-Server • To see a list of cookbooks that are present in the chef-server knife cookbook list
Read moreChef
Clean up the Chef-Server • To see a list of cookbooks that are present in the chef-server knife cookbook list
Read moreChef extra commands • To upload all cookbooks to chef-server in one go knife cookbook upload –all • To deal
Read moreRoles : • Custom run-list• We will create role & upload them to chef-server & assign them to nodes.• If
Read moreRunning chef-client in regular interval • Go to node, Open “crontab” file inside /etc directory & give * * *
Read more• All cookbooks(apache & test ..) must be inside cookbooks folder comes by default with chef-repo folderto upload to chef-server.•
Read moreChef Server • Chef server is going to be a hub for the code(Cookbooks)• Nodes pull code(Cookbooks) from chef-server •
Read moreChef-client • We run chef-client to apply the recipe to bring node into desired state.• We call this process as
Read more• It is a system discovery tool.• It gathers system information. • ohai • Now run • ohai ipaddress •
Read moreFollow the Steps: • Go inside the cookbooks folder & create a cookbook • chef generate cookbook apache-cookbook • Go
Read moreFollow the steps: • Go to chef.sh• Go to Downloads• Click on Chef Workstation• Go to Red Hat Enterprise Linux•
Read more