Use it when configuring, checking or troubleshooting Configuration Management in Automation Fundamentals.
Configuration Management · Automation Fundamentals
Configuration Management maintains defined configuration and package/service state on existing managed systems, usually by comparing expected settings with observed state and correcting drift.
1. Configuration management keeps systems in a desired configuration.
2. Ansible, Puppet, Chef, Salt, DSC.
3. Idempotent modules.
4. Detect and correct drift.
5. Store config in git.
desired config → tool → hosts → drift report
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 Operational evidence path Verify boundary
inventory/variables → rendered desired config → current config/state → delta → apply → handler/service action → runtime verification → convergence rerun
Healthy evidence: effective variables are explainable, diffs are bounded, handlers run only when required, runtime service checks pass and reruns converge cleanly.
Step 2 Failure modes and next checks Narrow the fault
Suspicious evidence: variable precedence surprises, template drift, repeated changed status, unnecessary restarts, configuration success with service failure or unmanaged local edits.
Configuration management can show managed settings were applied or converged, but it does not show the dependent service or end-to-end workload is healthy without runtime verification.
Step 3 Common mistakes Narrow the fault
- Configuration management alongside manual changes.
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.
- Configuration management ≠ provisioning; it normally assumes the managed resource already exists.
- Configuration file changed ≠ service state changed correctly; reload/restart and runtime validation are separate boundaries.
- Template rendered ≠ correct configuration; variables, defaults and platform semantics determine the effective result.
- Agentless/agent-based transport choice ≠ configuration model; both can implement stateful management.
ansible-playbook site.yml --check --diff— config drift- Config baseline in git — desired config
- Compliance report — state per host
ReferenceWhat it is1 section · depth on demand
Core model
Use inventory and variables to select targets, render or resolve intended settings, apply bounded changes, manage handlers/restarts deliberately and verify both configuration and resulting service state.
ReferenceImportant terms & boundaries2 sections · depth on demand
What this shows and what it does not
Automation owns configuration-state management; Linux, Windows, Network and application owners define configuration semantics and service acceptance.
In depth
Configuration management keeps systems in a defined configuration over time: packages, files, services, users, device settings. Instead of changing systems by hand, the desired configuration is described in code and applied repeatedly, so drift is detected and corrected.
| Tool | Model | Typical use |
|---|---|---|
| Ansible | Push, agentless | Network devices, Linux, Windows |
| Puppet | Pull, agent | Large server fleets |
| Chef | Pull, agent | Servers, application stacks |
| Salt | Push/pull, agent or SSH | Servers, event-driven |
| PowerShell DSC | Push/pull | Windows |
The core practices are the same regardless of tool: configuration in version control, roles per system type, variables per environment, idempotent resources, testing in a lab before production, and scheduled runs or checks to catch drift.
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 Fundamentals > Configuration Management. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://learn.microsoft.com/en-us/azure/well-architected/operational-excellence/enable-automation · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
Configuration Management automation boundary map
Fast intent, state, execution, verification and recovery boundaries for Configuration Management.
| Boundary | Healthy evidence | Suspicious evidence |
|---|---|---|
| Intent / inputs | Owner, scope and authoritative inputs are explicit and versioned where applicable | Hidden defaults, stale inventory or competing sources of truth |
| Decision / execution | Plan or decision is explainable and actions are bounded per target | Blind fan-out, implicit assumptions or success based only on executor status |
| State / verification | Target is re-observed and acceptance criteria prove the intended outcome | No read-back, perpetual drift, partial side effects or unresolved exceptions |
| Recovery / evidence | Retry, rollback or escalation behavior is defined and auditable | Unknown partial completion, unsafe retry or evidence lost during remediation |