Using CheatSheets To Apply Best Practices

Cheatsheet: Chef Automation

Cheatsheet: Chef Automation

1.1 Chef Summary

Name Command
Cookbook folder /var/chef/cache/cookbooks, /etc/chef/local-mode-cache
Log folder /var/chef/outputs/
Chef log a message puts “################## My Test var: #{var}.”

1.2 Chef Resources

Name Command
Create a file with given content Link: file resource
Chef install package Link: chef package resource
Chef conditional update  
Chef create file/directory Link: file resource, Link: directory resource

1.3 More Resources

License: Code is licenapt under MIT License.
https://docs.chef.io/resource/




Leave a Reply

Your email address will not be published. Required fields are marked *