About
Puppet is:
- an agent based configuration platform
- based on declarative meta data (no procedure, recept instead). It has an object-convergence model that define a desired state for your resource
Articles Related
Model
Procedural (Ansible) | Declarative (Puppet) |
---|---|
run this list of commands to install Apache on my machine | Apache should be installed and configured. |
Puppet handles:
- verifying if Apache is installed,
- checks for the correct dependencies,
- upgrades it if it’s not at the correct version
- does nothing if everything is good.
Resource manifest:
- are declarative,
- abstracting away various details (e.g., OS-specific actions)
- makes definitions simpler to read, modify and audit.