Console commands Flashcards

1
Q

debug

A

–debug

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

See what changes P. will make without executing these changes actually

A

–noop

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

An elementary unit of puppet configuration is…

A

resource, which can be package to be installed or anything else (what?)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the name of group of resources?

A

A class. A resource – describes a single package, say. A class describes everything needed to configure application.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Node classification

A

the task of configuring which classes will be applied to a given node

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Nodes get different sets of classes depending on their…

A

role in the system.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Node definition

A

f

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How to use node-specific data from outside manifests? (like from Hiera or so)

A

f

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Manifest is…

A

just ‘puppet language file’.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Manifests file extension is

A

.pp

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the manifest with that P. begins compiling?

A

main manifest, aka ‘site manifest’

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Must all the classes be declared in main (site) manifest or not?

A

They can be stored as manifest files in modules. P. will autoload them
on the run’.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Catalog is

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What states has p. catalog during a P. run?

A

Ruby object in memory -> transferred as JSON -> persisting on disk as YAML.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What if master fails to compile new catalog for a node?

A

The node re-uses the cached catalog.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly