Questions tagged [configuration]

Use this tag for DevOps related questions about configuration, which is used to specify the desired settings of a system or application.

Filter by
Sorted by
Tagged with
36
votes
5answers
6k views

How to test provisioning and configuration in Ansible setup?

Looking at trying to build some resilience into our Ansible setup which deals with provisioning and configuration. I understand a few methods of testing on the configuration side of things but I'm ...
22
votes
3answers
2k views

What are possible implementations (or examples) of the four-eyes principle?

Michael Grünewald recently posted this comment: A very important method you do not mention is the “four-eyes principle” which is used in the finance – either as a regulatory obligation or as a safe-...
19
votes
2answers
5k views

Where should I put my application configuration?

I've been reading lately a debate about "Where should properties that depend on the environment be stored?". The classical way is to have multiple property files, one by environment, and based on an ...
13
votes
2answers
1k views

How to implement the four-eyes principle for emergency fixes?

Consider this scenario (any comparison with real world situations is purely by accident): 3:07 am: incoming support call "Something in production went down, I need your help!". 3:12 am: connected to ...
11
votes
2answers
1k views

How should I store my environment variables?

This is a very broad question about methods and advice regarding environment variables / structure. But ultimately I'm looking for answers for the very specific question of 'How should I store 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 ...
8
votes
3answers
1k views

How to implement a frozen test environment?

Here is a partial quote from an answer to the question about "How to avoid continuous integration-caused instabilities in test environments?": This environment usually freezes during the tests. My ...
7
votes
1answer
1k views

Can GitHub's Pull Request model be used for implementing post approvals?

The accepted answer to "What are possible implementations (or examples) of the four-eyes principle?" suggests that GitHub's Pull Request model is a possible implementation. And my own answer to "How ...
7
votes
1answer
148 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-...
5
votes
5answers
1k views

Bad edit to sudoers file on EC2 instance, how to fix it?

While writing a script to edit the sudoers file without using visudo, the script did not check for issue, and I have introduced some bad edits into the sudoers file, and thus cannot use sudo at all ...
5
votes
1answer
265 views

How can I validate GoCD configuration before applying it

We have a GoCD installation where we like to keep the pipeline configuration XML files (cruise-config.xml) in a separate git repository, and install it (preferably via a pipeline and automatically) to ...
5
votes
1answer
1k views

Ensure a line is uncommented in an XML file using ansible

How can I use ansible to ensure that a line is uncommented in an XML file? In /etc/tomcat8/context.xml I want to ensure that the section: <!-- Uncomment this to disable session persistence ...
4
votes
1answer
907 views

Kubernetes API Server KUBE_SERVICE_ADDRESSES parameter and Pod Network configuration

Question Where is the Kubernetes documentation regarding KUBE_SERVICE_ADDRESSES parameter of API server and Pod network configuration? Background KUBE_SERVICE_ADDRESSES parameter value needs to go ...
4
votes
1answer
461 views

Why Run Concourse CI in Kubernetes

I've just started exploring Kubernetes and Concourse CI. Learning still, so I'm still understanding all the concepts. Forgive me if this question sounds naive. Why would we deploy Concourse CI in ...
4
votes
1answer
1k views

Salt Stack environments ignoring saltenv

I have a salt master with four environments configured (base, dev, staging, prod) I am initially trying to set a pillar item to track which envrionment is in use, namely core:env However when I ...
4
votes
1answer
76 views

How can I build & maintain a personal, cross-platform 'toolkit' of commonly used applications?

I've discovered a number of open source tools over the years which have become an essential part of my personal workflow & productivity in my current day job (project manager / business analyst). ...
3
votes
1answer
817 views

What are Pros and Cons of various VCS and CI/CD tools to store, change and deploy configuration snippets of more than 1000 customers in a VCS?

Follow-up to this question. We are in the middle of a transition to Configuration as Code (CaC). At the moment a lot of sites are configured manually. A side effect of this is that so now and then ...
3
votes
2answers
63 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 ...
2
votes
2answers
11k views

Unable to parse YAML: mapping values are not allowed here

Good morning. I'm migrating from Gitlab to CircleCI and try to map out a simple pipeline ("workflow") that basically should look like this: [build] -> [tests] -> [release*] * only on tags I ...
2
votes
5answers
518 views

Same Docker image, multiple configurations

I got an application server image built with Docker. However, this image contains an OpenVPN client which needs a different certificate for each client, among other minimal configuration files. I ...
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
212 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
3k views

Where is the apache2 filebeat module configured?

I am setting up the Elastic Filebeat beat for the first time. I have followed the guide here, and have got the Apache2 filebeat module up and running, it's connected to my Elastic and the dashboards ...
2
votes
1answer
126 views

String to specify to KUBE_SERVICE_ADDRESSES (API Server configuration)

What are the strings to set to KUBE_SERVICE_ADDRESSES and their meanings? Which documentation or GitHub repo to look into to understand? Background: I have seen a few strings but not sure what these ...
2
votes
1answer
173 views

Where to Store Container Configuration

(I reviewed this question but the one answer doesn't offer practical solutions.) The general wisdom when it comes to containers appears to be: "Make them immutable and identical." I take this to ...
1
vote
1answer
41 views

How to automate initial server configuration?

I’m trying to add new nodes (Linux servers) to my cluster but I have to first configure my nodes properly, i.e. setting up the firewall, closing ports, disabling password login, setting up git, etc… ...
1
vote
1answer
438 views

What is Unit testing in the context of YML configuration Alerting rules?

I read a very short blog posting about Unit testing alerts with Prometheus Can you explain me why I need unit testing for *.yml? What is the benefit of unit testing for configuration files? I not ...
1
vote
1answer
2k views

Error passing arguments to ansible playbook

I am trying to create a playboook that executes a python3 script with 2 parameters, name and password in localhost. However, when i try to execute the paybook with this command ansible -b --become-...
1
vote
1answer
399 views

How to pass parameters to a container orchestrated by Kubernetes similar to running the container at the command line using the docker run command?

Background I have a docker container that I run in the following fashion: docker run --rm my-custom-container:latest --username me --password yes --url "https://my.url" The container does what ...
1
vote
1answer
268 views

Dynamically change config files in c# Application based on environments(dev,QA,Prod) through Bamboo

I have a windows service written in .net c#. We have three different environments say dev, test and prod. I also have 3 different config files for 3 environments say devAppConfig , TestAppConfig and ...
1
vote
1answer
749 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 ...
1
vote
0answers
69 views

Modifying Microk8s System Manifests

To start, I am new to Kubernetes, so please feel free to point out and correct any terminology I get wrong. In a nutshell, I want to be able to run microk8s enable ingress with custom configuration ...
1
vote
0answers
720 views

Where is the modules folder under filebeat to configure as a slave? [closed]

I have installed ElasticSearch, LogStash and Kibana on my master server following the articles: https://www.howtoforge.com/tutorial/how-to-install-elastic-stack-on-centos-7/ https://www.digitalocean....
0
votes
1answer
32 views

why is “docker run” used to connect to redis?

Trying to understand what's happening here: root@mordor:~# root@mordor:~# docker ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS ...
0
votes
1answer
2k views

No Kubernetes Option in Docker Desktop for Windows

Just getting started on Docker and after installing Docker Desktop on a Windows 10 Pro machine, the option to enable Kubernetes is missing from the context menu when using Windows containers. See the ...
0
votes
1answer
24 views

is a secrets-provider-container a good idea?

I am looking for a way to provide secrets to a container running on Google Cloud Run responding to the following criteria: secure centralized & pulled based free simple working with a team, with ...
0
votes
1answer
39 views

How to pick a right hardware configuration setup(server) for MERN stack

I'm learning programming(MERN stack) and along with that basic DevOps(linux, containers etc). I've read a lot about software configuration setups(with NGINX, and without, etc), but can't find anywhere ...
0
votes
2answers
36 views

One Repository for Kubernetes configuration or one configuration per application repository

We are currently migrating our Services to a Kubernetes environment. My question is if the configuration yaml file for each application should be in the repository where the application source itself ...
0
votes
2answers
734 views

How to get list of env variables from the root folder to jenkins job?

Using configure option, when we check the environment variables, we get only the variables which are available with in the folder or job. But, I want to get complete list of env variable from the ...
0
votes
2answers
43 views

How to make one branch public while the others remain private on GitLab?

I am currently working on a LaTeX template. I chose gitlab to host the template. Now I want to give some colleagues access to my template, but only to the master branch. I use the other branches to ...
0
votes
1answer
2k views

How to Configure jenkins email notification for some commercial email services?

For configuring jenkins email notification with some corporate email server or commercial email services. How we can get mail server setting details like mail server name, port number, using SSL, etc....
0
votes
0answers
5 views

Setup a configurable whmcs-whm development environment

I have several clients on different WHMCS, WHM and PHP versions. I need to setup a development environment with configurable WHMCS, WHM and PHP versions to test WHMCS add-ons before releasing to ...
0
votes
0answers
57 views

How to process output from a “hello world” python script?

This example builds fine: root@mordor:~/gitrepo/path-to-kubernetes/src/python/helloworld# root@mordor:~/gitrepo/path-to-kubernetes/src/python/helloworld# ll total 16 drwxr-xr-x 2 root root 4096 Oct ...
0
votes
0answers
18 views

Topology and configuration of MySQL client and server containers

Perhaps I'm using MySQL in an unusual way. I was thinking of just having alice and bob containers, where the console client is used on one to query the other. I'm probably using MySQL in an obscure ...
0
votes
0answers
21 views

“Key vault reference error” in web app configuration of azure portal

I have a private certificate that was generated by azure for a web app for linux containers. I want to pass this value to my .net core app via the web app configuration settings in the the azure ...
-1
votes
1answer
47 views

Last Question on CI-CD edx.org Final Exam [closed]

The problem: An organization is developing a solution that contains a web application project class library projectS You manage a continuous integration pipeline for the application. Each time ...
-2
votes
1answer
58 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 ...