Ansible, Puppet, Chef Flashcards

1
Q

Ansible platform

A

Mac, Linux, Linux VM on windows

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

Ansible files: Playbook

A

action and logic about what Ansible should do

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

Ansible files: Inventory

A

device hostnames and info about each device, like device roles, so Ansible can perform functions for subsets of inventory

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

Ansible files: Templates

A

Using Jinja2 language, represent a device’s config but with variables

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

Ansible files: Variables

A

Using YAML, a file can list variables that Ansible will substitute into templates

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

Ansible architecture

A

agentless- push model

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

Ansible SBIs

A

SSH, NETCONF

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

Ansible config monitoring

A

uses logic modules to detect and list config differences, after with playbook will either reconfigure or notify

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

Puppet platform

A

Linux

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

Puppet files: Manifest

A

human-readable text file on Puppet Master, using language defined by Puppet, used to define desired config state of device

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

Puppet files: Resource, Class, Module

A

components of the manifest, largest to smallest. Modules make up classes make up resources.

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

Puppet files: Templates

A

Using Puppet domain-specific language, files allow Puppet to generate manifests by substituting variables into the template

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

Puppet architecture

A

agent- pull model. external proxy agent on devices that don’t support puppet (called agentless). proxy agent uses ssh.

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

Puppet config steps

A
  1. engineer creates and edits all files on Puppet server
  2. config and enable on-device or proxy agent on each device
  3. agent pulls manifest details from server
  4. if agent’s config should be updated, puppet agent performs addl pulls to get all details, and updates the config
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Chef architecture

A

pull model. can be client-server or standalone mode (Chef Zero). requires on-device chef client code.

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

Chef Resource

A

config object whose state is managed by chef (like set of config commands)

17
Q

Chef Recipe

A

Chef logic applied to resources to determine when, how, and whether to act against the resources

18
Q

Chef Cookbooks

A

Set of recipes about same kinds of work, grouped for easier mgmt and sharing

19
Q

Chef Runlist

A

ordered list of recipes that should be run against a device

20
Q

Protocol to network device

  1. Ansible?
  2. Puppet?
  3. Chef?
A
  1. ssh, netconf
  2. http (rest)
  3. http (rest)