May 2017
Beginner
268 pages
6h 1m
English
Puppet is two things: a language for expressing the desired state (how your nodes should be configured), and an engine which interprets code written in the Puppet language and applies it to nodes to bring about the desired state.
What does this language look like? It's not exactly a series of instructions, like a shell script or a Ruby program. It's more like a set of declarations about the way things should be. Consider the following example:
package { 'curl':
ensure => installed,
}In English, this code says—The
curl
package should be installed. When you apply this manifest (Puppet programs are called manifests), the tool will do the following:
Read now
Unlock full access