Questions tagged [configuration-management]

Software configuration management (SCM) is the task of tracking and controlling changes in the software deployments

Filter by
Sorted by
Tagged with
12
votes
5answers
1k views

Are configuration management tools appropriate to use as deployment tools?

Off the back of my answer to the question: How can DevOps help to improve Software Escrow procedures? Tensibai had the question: What would necessitate Capistrano on top of puppet or chef? My ...
11
votes
1answer
74 views

Assertions and constraints

I'm constructing a template to build a configuration file, and the service that consumes this file places constraints on identifier lengths. If an identifier is longer than, say, 6 characters, the ...
11
votes
2answers
1k views

Tool for storing per environment configuration

I have a requirement to store configuration information on a per environment basis in a tool. This is a tool with a GUI for adding/updating configuration values (e.g connection strings). This should ...
9
votes
2answers
173 views

Does load balancer F5 support CasC (Configuration as Code)?

Using CasC with F5 would allow for versioned and optionally dynamic network endpoint configuration, saving time and reducing risks. Does this tool support this? Are Single Configuration Files (SCF, ...
9
votes
2answers
676 views

How to Chef things that don't exist yet

Let us say I have some Chef code like: require 'mixlib/shellout' yum_package 'somepackage' myvar = Mixlib::ShellOut.new('/bin/somecommand').run_command.stdout.strip Where /bin/somecommand does not ...
8
votes
2answers
3k views

A comparison of idempotence and immutability

Many in the DevOps apply the cattle-not-pets mentality by implementing immutable infrastructure and redeploying when changes are needed (instead of modifying). Configuration management has a similar ...
8
votes
2answers
4k views

Why not use configuration management tool instead of Dockerfile?

I'm pretty new to Docker and configuration management tools. At first I started writing bash scripts to provision my Vagrant boxes for my development machines, but now I've switched to using Chef ...
7
votes
2answers
6k views

Artifactory vs Git for Infrastructure Version Control / Configuration Management

I'm trying to understand the difference between managing configuration files for the purposes of simplifying automated deployment. We have 5 environments to build. So far 2 have been built with no ...
7
votes
1answer
340 views

Does Ansible have component akin to PuppetDB?

I know Puppet from (limited) experience and have noticed that in configuration management there is now a strong trend towards Ansible. On the one hand, I understand that Ansible does not require an ...
7
votes
1answer
147 views

How to integrate multiple “feature” react apps into monolithic PHP repo?

We have a mono-laravel-repo and are in the process of migrating to a cleaner, easier to maintain dev reboot. We have recently moved towards migrating our existing PHP based views into multiple React-...
7
votes
3answers
88 views

What are some clear benefits of running master/agent configuration management?

Ansible seems to have a clear advantage over competition like chef and puppet because it is agent-less and saves a certain degree of overhead. I have read several comparisons of the various ...
6
votes
3answers
112 views

Does full automation still provide a better ROI at small scales?

Obviously, Automated configuration management and deployment makes sense at large scales when you need to manage hundreds of servers and you need those servers to be identically configured to a ...
6
votes
2answers
784 views

How are declarative distros different than Kickstart?

NixOS and GuixSD both bill themselves as "declarative" and DevOps-friendly. How and in what ways are these declarative distros different than Kickstart and/or a Linux distro managed by a configuration ...
6
votes
2answers
725 views

OpenShift configuration management

As far as I can tell, reading the OpenShift documentation, including https://github.com/openshift/training/, the officially published "standard" way to manage OpenShift configuration (about their ...
6
votes
2answers
62 views

Handle OS and Software maintenance/updates on Hardware distributed to Customers

In the last weeks I have tried to find a solution to the following scenario assuming that someone else had similar requirements and documented his solution but all my searches were unsuccessful. So ...
6
votes
1answer
1k views

Are NixOS and GuixSD the incoming Linux distros of DevOps?

The main advantage of these distros is the declarative approach which allows for setup to be done in the same way as you would configure a Vagrantfile or Dockerfile. In the way that Docker replaced/...
5
votes
2answers
209 views

What should I use for configuration management on AWS?

I am trying to find a solution for configuration management using AWS OpsWorks. What I can see is AWS offers three services for OpsWorks Chef Automate Puppet AWS stacks I have read basics of all ...
5
votes
2answers
762 views

Best practices for CI for embedded platforms (ESP32/Arduino)

Development processes for embedded software always lags behind that for web development. When looking at unit testing, automated builds and code analysis there are many limitations to popular tools. ...
5
votes
2answers
399 views

If we are using containers do we still need to worry about configuration management at an infrastructure level?

We are about to begin our journey with containers and I am wondering if we still need to utilize something like Chef, Ansible, Terraform, etc. to ensure that our infrastructure is properly maintained? ...
5
votes
2answers
156 views

Application configuration of a complex enterprise system

For a complex, distributed Enterprise system running on premise, I'll be driving an initiative to harness application configuration management. Today we have software delivered by almost 20 various ...
5
votes
1answer
118 views

How to properly automate CM based on log events?

Let's say I have a number of tools like Docker bench security, some static security scanners, etc. Now I have let's say free Ansible edition (no expenses are considered). I have lots of logs, but not ...
4
votes
1answer
109 views

Why is developing Ansible Playbooks using Roles a best practice?

It's a best practice to develop Ansible Playbooks with reusable roles. From what I've seen, people end up putting all their roles into a single complex files anyways. So it doesn't really fix the ...
4
votes
2answers
111 views

Docker vs CMS - related or a different thing?

I am new to DevOps and I am trying to catch the techniques and their names and meanings. I looked wikipedia explanations on Puppet (a Configuration Management System example) and that of Docker. ...
4
votes
1answer
47 views

Using requisite injection to order states

Given three states, /root/a, /root/b and /root/c, I want /root/c to execute before /root/b, and /root/b to execute before /root/a. Given a Salt SLS file salt://ordertest/init.sls: /root/a: file....
4
votes
3answers
2k views

How to manage 10+ team environments with Helm and Kubernetes?

I'm looking for feedback on how we can improve our team environment and staging deployment process. We currently have 10 agile teams, and set up our Kubernetes deployments through Helm as follows: ...
4
votes
1answer
183 views

Salt Stack Reporting - Executing commands based on environment

Salt allows users to assign machines to environments by setting in /etc/salt/minion: environment: example You can then execute environments for that state with the command salt '*' state.apply ...
4
votes
1answer
707 views

Execute the whole Playbook serially

Adding serial: 1 to a Play will execute that one Play one host at a time. Is there something similar for the whole playbook? That is, all plays will execute only in one host, and when they are ...
3
votes
3answers
162 views

How to integrate a platform as a service with configuration management tools?

Is a configuration management tool (Chef/Puppet/Ansible) necessary for managing an application on a PAAS system (Azure app service, Heroku, Elastic Beanstalk)? How would it be utilized? While a tool ...
3
votes
1answer
499 views

How to insert a minion Powershell variable into Salt Pillar or Mine?

Say I have a Powershell script, named test.ps1, that has this: $VariableForPillar = 5 I can call it from a Salt state with - test powershell run: cmd.run: - name: 'C:\Windows\System32\...
3
votes
2answers
55 views

Can we use Ansible for monitoring configuration?

I understand how Ansible works and what it is used for. However, I was wondering if there is a way or feature (in open-source or enterprise edition) in Ansible using which, we can make sure that the ...
3
votes
1answer
70 views

Do you use existing automation code (cookbooks/playbooks/dockerfiles/etc) or you write your own from scratch?

I noticed that many cookbooks/playbooks/... are not of particularly high quality, and even if they are they rarely cover all cases. So it should be expanded with my custom logic everytime, while 90% ...
2
votes
2answers
4k views

Kubernetes on k3s can't resolve domains from custom dns server (fritz.box with dnsmasq)

I have a dns server running at 192.168.0.19 for custom domains like .fritz.box. Having a single node cluster on k3s, Rancher was installed using a subdomain server2.fritz.box using this command: ...
2
votes
2answers
68 views

How do configuration management tools deal with someone messing up configuration files manually?

I'm researching a bunch of configuration management tools, like, Salt, Chef, Puppet, Ansible, etc. and am trying to understand how they deal with someone manually changing a config file on the server ...
2
votes
3answers
67 views

Tool to collect developer environment parameters

I would like to start collecting parameters from local developer environments on my team, such as to see how they configure their properties files (not in source control), what directory they use as ...
2
votes
1answer
85 views

How do you handle the huge number of possible permutations of Dockerfiles / Teraform files?

We have adopted Docker and Terraform as the foundation forour devOps. We have a basic version of it up and running today. Dockerfiles live in each projects git repository and Terraform files are more ...
2
votes
1answer
30 views

Ansible - Variable expansion inside hostvars declaration?

I have a hardcoded hostvars line, like so: node1_hostname={{ hostvars['192.168.0.162']['node1_hostname'] }} I have a set_fact variable from a previous play that I'd like to expand in the host section ...
2
votes
2answers
921 views

Ansible configure and compile in directory

So I have have an Ansible Task that extracts a programs sourcecode zip into a certain directory and is then supposed to compile and install it. The extraction of the zip works fine, but then I need to ...
2
votes
2answers
66 views

What are sources for configuration management best practices?

I'm struggling with design for configuration management for a complex on-premise enterprise application with lots of moving parts. While it's fun and joy to go through this, there are lots of ...
2
votes
1answer
211 views

Where are dunder dictionaries stored in salt?

I am new to Salt-Stack wanted to know where are all the dunder dictionaries stored(Ex:salt,opts,grains,beacons etc). Thanks in Advance :)
2
votes
1answer
73 views

Looking for a Desired State and Configuration as Code central configuration management framework

I am looking for a central configuration management framework that supports the following scenarios: Desired State Configuration. My expectation is to express the desired configuration in code and ...
2
votes
1answer
74 views

In a modern IaaS microservice based system is Zookeeper still a useful tool?

I've used zookeeper before as a configuration management service to keep track of application settings, feature toggles etc. However, that was back in the day before microservices and AWS/Azure/GCP. ...
2
votes
1answer
168 views

Angular config maps in kubernetes

How can I integrate a config map into my angular application in kubernetes? Any useful blogs or videos implementing this would be helpful. I found a few, but they didn't work for me.
2
votes
1answer
162 views

SaltStack Reactor fails with exception

I have the next conf files for salt reactor: reactor.conf 'salt/netapi/hook/cd': /srv/reactor/dev.sls dev.sls # vim: sts=2 ts=2 sw=2 et ai {% set payload = data.get('post') %}...
2
votes
1answer
762 views

Is it possible to use a list with 'file.exists' in Salt?

I asked a question recently regarding the most efficient and scalable way to check which files/services exist in multiple environments. Thanks to an answer I have successfully set up roles for all of ...
1
vote
1answer
40 views

Is there a common name for describing “spans” of versions?

I'm looking for a way to pithily define a abstract term that declares all versions that a bug effects, or that a feature behaved a certain way. For example, feature X worked way Y in versions 1.3 to ...
1
vote
1answer
362 views

Best method of retrieving environment information via Salt Stack?

I have been tasked with using Salt Stack to find out what files/services exist in each of our environments (Test, UAT, Production). The Salt master can speak to all servers in Test and UAT (...
1
vote
1answer
48 views

Ansible dynamic inventory using AWS plugin — how to obtain internal DNS records or private IP?

Seeking help from those who've worked with dynamic inventory in Ansible. I have Ansible set up with the aws_ec2 plugin (not using the python script as it's been too problematic). Currently, I'm only ...
1
vote
2answers
88 views

Ansible - merging inventories to share variables across?

Is it possible to merge inventories so I can share variables across them? Let's say I have two inventory files. Inventory A and Inventory B. They are both in a directory called inventories. Variables ...
1
vote
1answer
160 views

straight python alternative to ansible

Can anyone recommend an alternative to Ansible that lets one write straight Python code? In my group, we're finding that expressing pretty simple logic in Ansible ends up being too time-consuming and ...
1
vote
1answer
26 views

Common config in Kubernetes ConfigMap

Kubernetes already provides a way to manage configuration with ConfigMap. However, I have a question/problem here. If I have multiple applications with different needs deployed in Kubernetes, all ...