Use this when deciding whether managed systems run an automation agent.
Agent-based Automation
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.
1. Agent-based: software on each node pulls/receives config.
2. Works through NAT and scales well.
3. Agents need patching and monitoring.
4. Certificates for trust.
5. Watch nodes that stop checking in.
agent → pulls from server → applies
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
On a controlled node, show the stable agent identity and controller/CA endpoint, fetch or compile the expected policy, and execute a no-op/test or bounded run. Correlate controller catalog/run identifiers with the agent report, then inspect the managed file/service/package/resource locally. Test an expired/denied identity or unreachable controller to confirm the failure does not trigger unsafe fallback.
Step 2 Common mistakes Narrow the fault
- Agents left unpatched.
- Agents failing silently without check-in alerts.
Step 3 Where it fails Narrow the fault
Separate agent enrollment/TLS, controller policy compilation, transport, local agent runtime, resource provider and consumer-visible node state. A controller can compile successfully while the agent cannot connect; an agent can receive policy but fail a privileged local change. Do not re-enroll or delete state until identity and certificate cause are known. Repair the first failing step, then repeat the same node run and local read-back.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Agents pull configuration and report back.
- They scale well and work behind NAT.
- Agents need patching and monitoring too.
systemctl status puppet / salt-minion / <agent>— agent running- Agent version and check-in time — health
- Agent certificate/auth — trust
ReferenceWhy it matters1 section · depth on demand
In depth
Agent-based automation installs a small program on each managed system that pulls its configuration from a server and applies it (Puppet, Chef, Salt minions, Microsoft Intune, DSC pull). Agentless tools (Ansible, Terraform) instead connect to targets on demand.
| Aspect | Agent-based | Agentless |
|---|---|---|
| Connectivity | Agent calls out to server | Controller connects in |
| Continuous enforcement | Built in (periodic runs) | Needs scheduling |
| Footprint | Agent to install and patch | SSH/WinRM/API only |
| Network devices | Rarely possible | Common |
Agents suit large fleets of servers and laptops that must be corrected continuously; agentless suits network devices and ad-hoc orchestration.
ReferenceImportant terms & boundaries1 section · depth on demand
Mechanics
Agent-based automation places a resident component on each managed node. The agent owns local discovery and application of policy while a controller/server distributes desired configuration, schedules or receives reports. Agent identity, enrollment/certificates, policy/catalog version, check-in interval and local privilege define behavior. Because the agent can continue acting after an operator disconnects, controller reachability and node-local execution are separate facts.
ReferenceConfiguration & state1 section · depth on demand
Lifecycle
Manage agent enrollment, certificates, package/runtime version, server endpoints and policy compatibility as part of the fleet lifecycle. Define safe behavior when the controller is unreachable, how long cached policy may be used, and how retired nodes/certificates are revoked. Coordinate ownership so other tools do not fight the same resources. Roll out agent/server upgrades in compatibility-tested cohorts.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Automation Architecture > Agent-based Automation. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://help.puppet.com/core/current/Content/PuppetCore/architecture.htm · confidence 94%Quick lookup tables
Automation Architecture → Agent-based Automation · operational reference
Context-specific ownership, verification, output and failure-boundary lookup for Automation Architecture → Agent-based Automation.
| 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 |
Deep reference
Healthy vs suspicious evidence
Output interpretation
Capture agent/node ID or certname, server, policy/catalog revision, run/report ID, changed/failed resource counts, per-resource message, timestamps and independent local state. A server showing “last check-in healthy” does not show every resource converged. Keep enrollment/TLS errors distinct from policy compile errors and local resource failures.