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.

Dictionary.com describes 'Configuration' as:

the way a software program or device is set up for a particular computer, computer system, or task; the specific settings for a program or device:

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

50 questions
37
votes
6 answers

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 wondering how best to implement testing on the…
Naphta
  • 627
  • 6
  • 9
24
votes
3 answers

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-guard. In the software industry it is implemented…
Pierre.Vriens
  • 7,225
  • 14
  • 39
  • 84
20
votes
2 answers

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 environment variable (DEV, PROD...), you choose…
carcaret
  • 301
  • 2
  • 3
13
votes
2 answers

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 the system (logon accepted) ... and no time for…
Pierre.Vriens
  • 7,225
  • 14
  • 39
  • 84
11
votes
2 answers

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 have a default value and be able to change this…
11
votes
2 answers

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 environment variables?' Firstly some…
11
votes
1 answer

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 service will get part-way through applying the…
Michael Mol
  • 1,045
  • 1
  • 8
  • 19
8
votes
1 answer

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 to implement the four-eyes principle for emergency…
Pierre.Vriens
  • 7,225
  • 14
  • 39
  • 84
8
votes
3 answers

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 question: what are sample implementations of a…
Pierre.Vriens
  • 7,225
  • 14
  • 39
  • 84
7
votes
1 answer

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-based "features" that live in a /react directory…
7
votes
1 answer

Where does k3s store it's "/var/lib/kubelet/config.yaml" file?

Referencing another answer here, they suggest setting evictionHard: imagefs.available: 1% memory.available: 100Mi nodefs.available: 1% nodefs.inodesFree: 1% In the file /var/lib/kubelet/config.yaml. However, I do not see that file in my k3s…
Evan Carroll
  • 2,921
  • 6
  • 37
  • 85
5
votes
1 answer

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: