April 13, 2014
Puppet offer to sysadmin to centralize the instalation and the configuration of their servers.
One puppet master keep the configuration of all servers. Each server is a client which execute the code from the master.
Puppet can create automaticly different type of
resources.
Puppet create resources not in order, it’s important to understand how to deal with that behavior:
puppet ordering.
Pros:
- Cross plateform (eg: Linux, MacOs, Microsoft)
- Create configurations file after installing packages with erb templates.
- Centratlise servers infos, named “facts” (cpu, memory, interfaces, …) with PuppetBD
Cons:
- A resource can be declare only once
- A variable can be set only one time
- Puppet is not as good as rsync for directories copy
- Puppet master is running as user puppet, it can’t read protected permission (ex: .ssh/*)
- All the facts are all loaded when puppet agent runs
- Ordering actions could be quiet painfull for a novice
- Can’t change a variable value that is already set