Information Technology Reference
In-Depth Information
recipe
A set of instructions written in a Ruby DSL that indicate the
desired configuration
to
Chef.
resource
A cross-platform abstraction for something managed by Chef (such as a file). Resources
are the building blocks from which you compose Chef code.
attribute
Parameters passed to a resource.
You created recipe files with Chef code, and ran
chef-apply
to perform the actions speci-
fied in the recipe. You learned that in Chef code, you need only tell Chef the
desired config-
uration
using
resources
as building blocks. We showed you how to use the
file
resource to
create a file, and how to use the
action :delete
attribute to delete a file.
In the next chapter, we will show you how to create a sandbox environment using Test
Kitchen, so that you have a safe place to experiment and learn more about Chef.