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
2
votes
2answers
14 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 ...
0
votes
0answers
4 views

How do I configure Istio with a Proxy for egress traffic?

I have the following setup. App -> Internet -> Nginx -> Kube Proxy -> Istio Ingress Gateway -> Gateway -> Virtual Service -> Service -> Pod I also have a Server accessible on a public IP. I ...
4
votes
1answer
70 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 ...
1
vote
0answers
18 views

Kubernetes ConfigMap strategies

I'm wondering if there's some best practices to follow with regards to container configuration management and kubernetes ConfigMaps. Assuming configuration for apps (not necessarily related to each ...
0
votes
0answers
16 views

What is the right way to manage app configuration for java spring apps running in AWS and kubernetes?

I'm facing several problems related to application configurations Public and Private API almost every service public and private API. Public API is available from external network and covered with ...
0
votes
0answers
16 views

High-level initialization/deployment options

What are the existing options for high-level initialization and deployment of the infrastructure needed for containerized environments? For the sake of an example, lets say I want to end up with a ...
-2
votes
1answer
29 views

Build one time, deploy multiple times. How does this apply to configuration?

I've heard about deployment pattern which sounds like "build one time, deploy multiple times". If I manage the configuration via e.g. ansible templates or chef or any other CM tools, I don't have any ...
2
votes
2answers
51 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
3answers
446 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: ...
1
vote
2answers
921 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: ...
1
vote
1answer
40 views

Chef vs Ansible: will configuration be applied if connection is lost during configuration pulling/pushing?

Scenario Configuration management tools like Ansible or Chef often have a master/controlling machine and the machines they are controlling (agents). Question What if the connection between master ...
4
votes
2answers
133 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? ...
1
vote
3answers
61 views

What are the tools you recommend for deploying / automating / organizing vm in the private cloud

I manage a set of virtual servers in a private cloud on vSphere. In this private cloud we have several sets of servers that host several web applications such as: -Webpress web sites -Phone ...
2
votes
2answers
60 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 ...
0
votes
3answers
72 views

Is there a php (or composer) command to change upload_max_filesize && post_max_size from terminal?

Is there a php (or composer) terminal command to change the php.ini variables upload_max_filesize and post_max_size from terminal to some value directly from terminal, without sed or awk operations? ...
-1
votes
1answer
41 views

Maximally-self-managed hosting-platforms and OS-and-above containerizators (like Vagrant)

A maximally-self-managed hosting-platform like DigitalOcean/Linode lets a customer quickly create its own VPSE (Virtual Private Server Environment) which includes a common FOSS operating system like ...
7
votes
3answers
62 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 ...
2
votes
1answer
62 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 ...
-1
votes
1answer
227 views

CD (Continuous Deployment) best practices for managing configuration [duplicate]

My CD pipeline: Get docker image (created and pushed during CI stage) Copy docker-compose .yml template to target server Run the app Let's go straight to the 3rd point. I can run the app using ...
2
votes
1answer
152 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 :)
5
votes
1answer
107 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 ...
1
vote
1answer
39 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 ...
3
votes
1answer
65 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
1answer
61 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
47 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. ...
6
votes
2answers
54 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 ...
1
vote
0answers
29 views

Ensure that reactor worked out and see the result of execution state in SaltStack

Is there a way to get a progress of working out of saltstack reactor in realtime via API after sending event to reactor via API request? For now, the single output which is possible to see is {"...
6
votes
2answers
466 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 ...
1
vote
1answer
143 views

How can integration tests for micro services be written?

Writing unit and integration tests for individual micro services is part of standard development processes. However, how can these services be tested with one another? And then integrated into a CI ...
2
votes
1answer
107 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') %}...
5
votes
2answers
405 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
152 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 ...
2
votes
3answers
57 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 ...
0
votes
1answer
49 views

how is software defined infrastructure related to devops?

I'm a new developer who is picking up python. I'm currently writing code using python's asyncio or twisted framework to automate the setup of some raspberry pi and servers I got 2nd hand (xen, hyper-v)...
7
votes
1answer
198 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 ...
4
votes
2answers
76 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. ...
8
votes
2answers
2k 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
3k 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 ...
3
votes
3answers
119 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 ...
9
votes
2answers
456 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 ...
1
vote
1answer
569 views

Accessing attributes from within recipes

Let us say I do knife node edit mynode and within the normal section I edit the JSON to add "myattribute": "myvalue",. I save this and verify that it has taken effect by issuing knife search node -a ...
5
votes
2answers
148 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 ...
6
votes
2answers
4k 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 ...
2
votes
1answer
309 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 ...
6
votes
2answers
571 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 ...
5
votes
1answer
922 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/...
1
vote
1answer
225 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 (...
-2
votes
3answers
234 views

Tool for configuration management [closed]

I'm employee in IT company the offers a solution for many customers, there are about 100 sites build on the top of our product code and all of them are hosted in the company DC. The thing is we have ...
4
votes
1answer
178 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 ...
9
votes
2answers
141 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, ...