Automation · Automation Architecture
Agent-based Automation
Cheat sheet · https://pcornel.dk/topic.php?topic=5176
Answer
Agent-based automation installs an agent on each managed system, such as Puppet, Chef or Salt minions, which checks in with a server and applies configuration locally. It scales well but needs agent maintenance.
Remember
- Agents pull configuration and report back.
- They scale well and work behind NAT.
- Agents need patching and monitoring too.
First checks
systemctl status puppet / salt-minion / <agent>— agent running- Agent version and check-in time — health
- Agent certificate/auth — trust
Verify in this order
agent → pulls from server → applies
Where it usually breaks
Input/desired state → request accepted → job/task terminal status → target object read-back → effective runtime state → original workload → regression/rollback readiness.
Automation Architecture → Agent-based Automation · operational reference
| Layer | Automation Architecture → Agent-based Automation operational reference |
|---|---|
| Runtime/ownership | Agent-based automation / Puppet agent-server model · identify controller/parser, durable intent, identity and target ownership before mutation |
| Persistent intent | Versioned definition/configuration with explicit dependencies, scope and credential boundary |
| Verification | On a fixture node, verify agent identity/server/CA, run a no-op or test report, inspect catalog/report IDs, then read the managed resource independently. |
| Expected interpretation | The intended agent securely receives the intended policy/catalog, evaluates local state, reports bounded changes, and the managed resource converges without duplicate competing ownership. |
| Recovery boundary | Preserve correlation IDs + pre-state, repair first failing boundary, then verify the target independently |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5176