Console commands Flashcards
debug
–debug
See what changes P. will make without executing these changes actually
–noop
An elementary unit of puppet configuration is…
resource, which can be package to be installed or anything else (what?)
What is the name of group of resources?
A class. A resource – describes a single package, say. A class describes everything needed to configure application.
Node classification
the task of configuring which classes will be applied to a given node
Nodes get different sets of classes depending on their…
role in the system.
Node definition
f
How to use node-specific data from outside manifests? (like from Hiera or so)
f
Manifest is…
just ‘puppet language file’.
Manifests file extension is
.pp
What is the manifest with that P. begins compiling?
main manifest, aka ‘site manifest’
Must all the classes be declared in main (site) manifest or not?
They can be stored as manifest files in modules. P. will autoload them
on the run’.
Catalog is
static document that contains all the information about resources and their relationships for a given node. P. automatically compiles it from all given manifests for this node.
What states has p. catalog during a P. run?
Ruby object in memory -> transferred as JSON -> persisting on disk as YAML.
What if master fails to compile new catalog for a node?
The node re-uses the cached catalog.