Configuration Management
Also known as: CM
Discipline and tooling for establishing and maintaining a known, consistent state for systems, software and their settings over time.
Configuration management has two related meanings. In systems engineering it is the formal process of identifying the components of a product or system, recording their versions and controlling changes so that its state is always known and documented; the discipline developed in United States defense projects in the mid-twentieth century. In IT operations the term usually refers to tools that automatically bring servers and software into a defined state, installing packages, writing configuration files, managing users and starting services, then keeping them in that state over time.
Operations tools put the idea into practice. CFEngine, created by Mark Burgess in 1993, introduced the model of describing a desired state and letting software converge machines toward it. Puppet and Chef followed in the 2000s with agent-based designs in which each managed machine periodically pulls its configuration from a central server. Ansible, first released in 2012, took an agentless approach, connecting over SSH and running tasks defined in YAML playbooks. Salt is another widely used option. All of these aim for idempotence, so that running the same configuration repeatedly changes only what differs from the desired state.
Before such tools, administrators often configured machines by hand or with ad hoc scripts, producing servers that drifted apart and became hard to reproduce. Configuration management made large fleets manageable and was an important precursor to infrastructure as code. Its role has shifted as containers and prebuilt machine images became common, since many systems are rebuilt rather than modified in place. It remains widely used for long-lived servers, network devices and workstations, and the broader engineering discipline of tracking configuration items continues in regulated and safety-critical industries.
Key points
- In engineering, configuration management tracks and controls changes to a system's components and documentation.
- In IT operations, tools such as CFEngine, Puppet, Chef, Salt and Ansible enforce a desired system state.
- Agent-based tools pull configuration from a server, while Ansible pushes changes over SSH without an agent.
- Idempotent operations let configuration be reapplied safely, correcting drift without unnecessary changes.
Related entries
Ansible
Open-source, agentless automation tool that configures servers, deploys software and orchestrates IT tasks using YAML playbooks run over SSH.
Infrastructure as Code
Practice of defining and provisioning servers, networks and other infrastructure through machine-readable files rather than manual configuration.
Idempotence
Property of an operation that produces the same result whether it is applied once or many times, important for safe retries and automation.
Immutable Infrastructure
Approach in which servers and other components are never modified after deployment; changes are made by replacing them with freshly built versions.
NixOS
Linux distribution built on the Nix package manager that describes the whole system in declarative configuration and supports atomic upgrades and rollbacks.
Security Hardening
Process of reducing a system's vulnerability by removing unnecessary functions, tightening configuration and applying secure defaults and updates.
Shell Scripting
Writing programs for a command-line shell, such as Bash, that automate sequences of commands, file operations and system administration tasks.
Referenced by
Other entries that discuss or point to Configuration Management.