Puppet Flashcards
1
Q
How does the Puppet architecture works?
A
It uses a client-server arch written in Ruby whereas Puppet Master contains all configurations and catalogs that Puppet Clients/Agents connect to in order to receive latest automations
2
Q
How Puppet makes automations?
A
It uses .pp files, Puppet DSL
3
Q
What are Manifests?
A
Manifests are automations written in .pp
Ex:
exec { ‘apt-update’:
command => ‘/usr/bin/apt-get update’
}
package { ‘mysql-server’:
require => Exec[‘apt-update’],
ensure => installed,
}
service { ‘mysql’:
ensure => running,
}
4
Q
What are Modules?
A
Remote manifests like apache clients and such
5
Q
What are Resources?
A
The basic manifests tasks