How does the Puppet architecture works?
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
How Puppet makes automations?
It uses .pp files, Puppet DSL
What are Manifests?
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,
}
What are Modules?
Remote manifests like apache clients and such
What are Resources?
The basic manifests tasks