Development Basics

What Is Configuration Management in Dev Projects?

What Is Configuration Management in Dev Projects?

Every environment a team runs has a state, and most of the time nobody has written it down in one place. Configuration management is how a team writes that state down and keeps it true. It covers every configuration item in a software system, from server settings and dependency versions to build scripts and environment variables.

Dev teams use it to keep development, staging and production on one committed baseline. The point is that a release behaves the same in all of them.

Change control gets most of the attention, but it’s only part of the job. In NIST SP 800-128 (2019 update) it sits third among 4 phases, after planning and after identifying and implementing configurations, with monitoring coming last.

What Is Configuration Management in a Dev Project?

YouTube player

On a dev project it comes down to one thing. A laptop, a CI runner, staging and production all start from the same known state. Code, settings and infrastructure are versioned and controlled so that state can be reproduced whenever someone needs it. It sits somewhere between software engineering and operations.

The term gets used in two ways. Software configuration management versions source code and build outputs. Infrastructure configuration management, a different thing in practice, enforces the state of servers, networks and cloud resources.

Here it means the broader dev-project version, which is everything a build, test or deploy depends on besides the application logic.

Each environment gets a defined state, and builds and deploys become repeatable. The history also shows who changed what, and when.

According to Cisco, the practice began in the 1950s inside the US Department of Defense, to keep defense equipment consistent with its requirements and design across its lifecycle. Network teams picked it up in the 1980s. IT service management followed in the 1990s.

On DevOps teams it turned into the automated version of what systems administrators used to do by hand. Atlassian frames DevOps configuration that way.

How Configuration Management Differs From Version Control, Change Management and IaC

YouTube player

Configuration management defines the state a system should be in and enforces it. Its neighbors do narrower jobs. Git keeps file history, change management signs off on modifications, and infrastructure as code creates the resources in the first place.

DisciplineQuestion it answersExample toolsLink to configuration management
Configuration managementWhat state should this system be in, and is it?Ansible, Puppet, ChefDefines and enforces state
Version controlWho changed which file, and when?GitStores the definitions and their history
Change managementWho approves this change, and why?Ticketing and ITSM workflowsApproves changes before the state moves
Infrastructure as codeWhich resources exist?Terraform, OpenTofu, PulumiCreates the resources that get configured

Red Hat treats change management as an ITSM process that sits close to configuration management without being the same thing. Change management settles whether a change goes ahead, and the state that results gets recorded on the configuration side.

Infrastructure defined as code overlaps the most, and the tools blur the line. Ansible, for instance, handles configuration management and infrastructure provisioning, and application deployment too, per TechTarget.

My shortcut for sorting the two is that what exists is provisioning, and what state it’s in belongs to configuration management.

Where a CMDB and ITIL fit

A configuration management database stores a configuration item’s attributes and dependencies along with its change history, which lets teams map how items connect and assess how a change to one affects the others (Red Hat).

ITIL covers much the same territory as service asset and configuration management (TechTarget).

Most dev projects skip the CMDB. The repository is the record.

What Counts as a Configuration Item?

YouTube player

Anything the team tracks closely enough to recreate counts. Red Hat’s definition is wide on purpose and takes in any asset or component involved in delivery.

Source code and its build scripts are the obvious starting point. Config files come next, with settings kept per environment and apart from the code. Dependencies belong here too, as versions pinned in lockfiles.

Infrastructure definitions cover the templates for servers, networks and cloud resources. Environment variables hold runtime values, and secrets get referenced there but never stored. Container images go on the list as well, meaning the base image tag or digest plus the Dockerfile.

A baseline freezes these items at an approved point in time. NIST defines it as a documented set of specifications that was formally reviewed and agreed, and that changes only through change control.

Items teams miss

CI pipeline definitions slip through, and so do lockfiles that nobody commits. Floating image tags such as latest are worse, because they point to different content next month.

Pin the base layer of a Docker image to a digest, so a rebuild next quarter produces the same result.

Then keep every item above under version control. A baseline without history is a snapshot nobody can audit.

How Configuration Management Works

The work runs as a loop. A team defines the desired state, applies it with automation, compares the actual state against it and corrects any difference. Inside that loop sit identification, change control, status accounting and audit.

The activities behind the loop

Identification comes first. The team decides which items are controlled, then names and versions each one. Change control sends every modification through a review before it lands. Status accounting is the bookkeeping, a record of the current version and state of every item. Last is the audit, which verifies that the real system matches the recorded baseline.

ISO 10007 names configuration management planning alongside identification, change control, status accounting and audit. IEEE 828-2012 covers most of that too and adds software builds and release engineering.

Desired state and idempotency

NetApp splits a configuration management system into a description of the desired state and automation software that holds target systems in that state. The description lives in files, usually YAML or a tool-specific language.

Idempotency is what makes the automation safe to rerun. A task that says “ensure the nginx package is present” installs it on the first run and does nothing on the second. A plain script that runs “install nginx” each time makes no such promise.

Standards behind the process

Status as of November 2026. IEEE 828-2012 sets minimum process requirements for configuration management in systems and software engineering. IEEE marked it inactive-reserved on 30 March 2023, and a revision project approved in 2021 is listed as active.

ISO 10007:2017 gives guidance for products and services from concept to disposal, and ISO last reviewed and confirmed it in 2023. A fourth edition is in working draft. NIST SP 800-128 covers security-focused configuration management, with a current text that includes updates as of 10 October 2019.

What Goes Wrong Without Configuration Management?

YouTube player

Environments drift apart. Someone changes a server or a setting by hand, nobody writes it down, and staging quietly stops matching production.

AWS describes the mechanism directly. A change made in one setup, such as a developer environment, gets missed in another, such as a test environment, and the result is configuration drift. Developers run into this as an environment parity problem when a build passes in CI and fails on the server.

Drift usually starts with manual fixes applied straight to a server, and it gets more likely when several administrators work without a shared change process, per Octopus. Configuration tools run without validation can turn the tool itself into a source of drift.

A documented case: Knight Capital

On August 1, 2012, Knight Capital’s order router sent more than 4 million orders into the market while trying to fill just 212 customer orders, and the firm lost more than $460 million, according to the SEC’s 2013 findings.

The SEC order traces the trigger to a technician who failed to copy new code to one of eight servers. No second technician reviewed the deployment, and no written procedure required one.

One server ran old code while the other seven ran new code. It’s configuration drift at its most expensive documented.

What the outage data adds

Knight Capital is the extreme end, a $460 million+ loss after one server missed a deployment (SEC, 2013). The wider numbers are less dramatic but point the same way.

About 41% of major network-related outages cite configuration or change management as a cause, down from 50% a year earlier (Uptime Institute, Annual Outage Analysis 2026 and 2025). And 87% of data center survey respondents with an impactful outage in the past three years say it could have been avoided with better management, processes or configuration, up from 80% in 2024 (Uptime Institute, Annual Outage Analysis 2026).

A baseline also changes recovery. Software teams use configuration management tools to create a baseline for functional software, so rolling back a failed deployment returns to a known state instead of a guess.

Which Configuration Management Tool Fits a Dev Project?

For most small and mid-sized dev projects I’d start with Ansible. Puppet makes more sense for long-lived fleets that have to return to baseline on their own. Terraform or OpenTofu come into it when the problem is creating cloud resources, not configuring what runs on them.

That’s a rule of thumb, not a ranking.

How the tools work differently

A declarative definition describes what the system should look like, not how to get there, which is the imperative style, as GitHub’s blog puts it.

Ansible’s control node connects to managed nodes and pushes out small programs called modules that model the desired state. Puppet works the other way. Each agent sends facts to the primary server, which compiles and returns a catalog, and agents run automatically every 30 minutes by default.

Ansible needs no application or service installed on the managed node. Chef Infra Client is installed on each node and pulls configuration data from the Chef Infra Server, though the Chef Infra Client 19 documentation also describes an agentless mode that runs over SSH.

What this changes in practice is drift timing. A pull agent corrects drift on its own schedule, while a push run only does it when something triggers the run.

Tool comparison

ToolDefinitions written inModelBest fit
AnsibleYAML playbooksPush over SSH, no agentSmall teams, mixed or ad hoc servers
PuppetManifests compiled into catalogsPull, agent on each nodeLong-lived fleets, continuous enforcement
ChefRuby recipes in cookbooksPull, Infra Client on each nodeTeams already fluent in Ruby
Terraform / OpenTofuDeclarative resource definitionsProvisioning, not in-server stateCreating cloud resources

Ansible’s weak spot is drift between runs, which goes uncorrected unless a pipeline or timer triggers the playbook. Puppet asks for a primary server plus an agent on every node, and that’s infrastructure someone has to run.

Chef’s YAML and JSON recipes cover basic cases, but they have significant limitations compared to Ruby recipes, so complex logic means Ruby. Terraform and OpenTofu carry their own caveat. HashiCorp’s documentation calls provisioners a last resort, and Terraform v0.15.0 removed the Chef, Habitat, Puppet and Salt Masterless provisioners.

In practice that last point settles the overlap with infrastructure as code. The provisioning tool creates the server, and a configuration management tool or an image build decides what runs on it.

Where SaltStack, CFEngine, OpenTofu and Pulumi fit

Salt continues as an open source project. The Salt Project says it is maintained by full-time core maintainers employed by Broadcom, and it released Salt 3008.0 LTS to general availability on May 27, 2026.

CFEngine came first. Mark Burgess started it in 1993 to manage workstations at the University of Oslo, and its adoption grew between 1998 and 2004 alongside Linux.

OpenTofu exists because HashiCorp switched Terraform from the MPL to the Business Source License on August 10, 2023. The Linux Foundation announced OpenTofu as an open source alternative on September 20, 2023. Pulumi defines infrastructure in general-purpose languages such as TypeScript, Python and Go, plus YAML.

What I’d decide on is drift tolerance. A server that can wait for the next deploy to be corrected is fine with Ansible run from the pipeline. One that has to return to baseline with nobody triggering a run needs Puppet.

Handling Application Configuration and Secrets Across Environments

Configuration stays out of the code and gets injected per environment at deploy time. Secrets go in a dedicated store, and never in the repository.

The Twelve-Factor App defines config as everything that can vary between deploys and requires strict separation of config from code. Its preferred home is environment variables, managed independently for each deploy rather than grouped into named environments.

Application settings

Environment variables carry per-deploy values such as database hosts and log levels. A Kubernetes ConfigMap stores non-confidential data in key-value pairs, which pods read as environment variables, arguments or mounted files. It can’t hold more than 1 MiB and provides no secrecy or encryption.

Helm lets you supply different values to the same chart for development, staging and production without duplicating manifests.

Secrets

YouTube player

Hardcoded secrets are common enough that GitGuardian counted 28.65 million new ones in public GitHub commits in 2025, up 34% year over year (State of Secrets Sprawl 2026).

Kubernetes does not close that gap by default. Per the Kubernetes documentation, Secret objects are stored unencrypted in etcd unless encryption at rest is configured. Base64 encoding is not encryption, and a manifest committed to a repository exposes the Secret to anyone who can read it.

A dedicated store changes the model. In HashiCorp Vault, revoking a lease invalidates a dynamic secret immediately, and credentials are destroyed automatically when the lease expires.

There’s a catch. Vault’s key-value backend, which stores arbitrary secrets, does not issue leases, so static values there still need manual rotation.

A gitignore entry keeps a local env file out of commits. It guards against accidents and stores nothing.

One artifact, many environments

Build once. Promote the same image through every stage, and change only the injected values.

Pinned versions matter here. The second OpenGitOps principle requires desired state to be stored in a versioned, immutable way with a complete history. A floating tag such as latest fails on both counts, since the same tag can point to different content over time and there is nothing fixed to roll back to.

How to Set Up Configuration Management

Start with the environment that causes the most pain, which is usually staging.

  1. Inventory what exists. List servers, services, settings, dependencies and pipeline files, and mark which values change between environments.
  2. Commit a baseline by putting definitions and per-environment values in Git. Tag the previous baseline too, so a return is one command.
  3. Pick a tool using the drift tolerance rule from the tool section.
  4. Write each definition to be idempotent, then test it by running it twice in staging. The second run must report no changes. Puppet’s no-op mode simulates changes without enforcing the catalog, and Chef recommends Test Kitchen for testing cookbooks across platforms.
  5. Connect it to the pipeline, so a change to a definition applies to staging first and production after.
  6. Schedule drift checks. Pull agents and GitOps controllers handle this on their own, while push tools need a timer or a pipeline job.
  7. Review the baseline at each release, record exceptions and remove definitions that no longer match reality.

Wiring definitions into CI/CD and GitOps

A continuous integration job checks every pull request that touches a definition. The deployment pipeline then applies the merged change environment by environment.

For Kubernetes, GitOps replaces the apply step. OpenGitOps 1.0, released in November 2021, covers declarative desired state, versioned and immutable storage, automatic pulling by software agents, and continuous reconciliation of actual state against desired state. Those make up its 4 principles.

Argo CD and Flux are the two common controllers that implement them. Under the fourth principle, agents continuously observe actual system state and attempt to apply the desired state, which makes drift checks part of the controller instead of a separate job.

When Configuration Management Does Not Apply

It adds little when servers get replaced instead of changed, or when a project runs on a single machine. It also does nothing about drift that comes from people bypassing the process.

SituationWhy it adds littleUse instead
Immutable infrastructureServers are replaced from a versioned image, not modifiedImage builds in the pipeline, plus drift detection
Single-server prototypeSetup cost exceeds the benefitOne documented script in Git
Process-caused driftThe tool cannot stop manual changes made around itAccess limits and a change approval step

Immutable infrastructure changes the problem

AWS describes the model as one where running resources are never modified in place. Teams build new infrastructure with the change and shift traffic after validation.

Drift mostly disappears for the same reason, because resources are replaced from a known, version-controlled definition. IBM adds that Puppet and Chef were originally designed for mutable infrastructure that updates servers in place.

Container images built from containerized workloads are the common case here. Server-level tooling shrinks, but some scope stays. The image build definition still needs managing, and so does application config injected at runtime. Secrets stay in scope too, since HashiCorp says they must never be baked into immutable artifacts. Pipeline definitions remain, and drift detection does as well, because AWS notes drift undermines immutable infrastructure.

Limits that apply to every tool

TechTarget states that configuration management does not prevent planned and authorized configuration changes, so those pass through untouched.

People still cause drift, too. Terraform and Ansible cannot eliminate it because it also stems from people and processes, according to The New Stack. The tools can cause it as well, since IBM notes that even tools meant to manage configuration can cause drift under the right circumstances.

Coverage is never complete either. Martin Fowler writes that it is not possible in practice to manage a server’s configuration completely, which leaves room for unexpected changes.

Treat configuration management as a control that reduces drift, not as proof that drift is gone.

Configuration Management FAQ

Does a small dev team need a configuration management plan?

A one-page version is enough for a small team. It names the controlled items, says who approves changes to them, and covers how baselines are tagged and how drift gets checked. NIST SP 800-128 treats the plan as the document that holds change control rules.

Who owns configuration management on a dev team?

Ownership splits. Developers own application settings in their own repository, while a platform or DevOps engineer owns the baseline, the tool and the pipeline that applies it.

Without one named owner for the baseline, definitions go stale quickly.

Is Kubernetes a configuration management tool?

Not in the Ansible or Puppet sense. Kubernetes keeps workloads at a declared desired state, and ConfigMaps and Secrets carry settings into pods. It does not configure the operating system on the nodes underneath.

How often should configuration be audited?

No standard fixes an interval. Run drift checks continuously or on a short schedule, and review the baseline itself at every release. Anything that fails an audit should either return to baseline or become the new, approved baseline.

Keeping Configuration Definitions Accurate After Setup

Configuration management stays accurate only with a recurring review, because every manual fix or emergency hotfix moves a system away from its committed baseline.

Plan the workload around how often changes bypass the repository, not around the size of the fleet.

Start with drift alerts, since a baseline review without drift data is guesswork about which definitions are wrong. The exception log comes next and turns each manual change into a record or a fix. The baseline review at each release closes it out.

There’s a cost in emergencies. A team that enforces the baseline routes even a hotfix through the repository, which adds a commit and a pipeline run to every incident fix.

This position was verified in November 2026. A move to immutable images shrinks the work to the image build, runtime config, secrets and pipeline definitions.

Bogdan Sandu

Stay sharp. Ship better code.

Every week: one curated article, one tool worth knowing, one tip you can use tomorrow. No noise, no padding.