Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [configuration-management]

Configuration management (CM) is a systems engineering process for establishing and maintaining consistency of a product's performance, functional and physical attributes with its requirements, design and operational information throughout its life.

9
votes
1answer
186 views

Why is it called Software Configuration Management (SCM)?

When I think of software configuration, I think of a file that is read by runtime - said file would contain things like the port a server might use, whether to use encryption, and paths of various ...
0
votes
0answers
43 views

Should application-specific server configuration be stored with the application's source code?

Context: We've shifted to Docker for local development and remote testing environments of different applications. Previously, each application was standalone so docker images were built and supplied ...
4
votes
1answer
127 views

Managing private NPM packages and CI/CD

At work we have an application that is run directly on dev machines, but deployed to Docker swarms (a QA swarm and production swarm). The code and CI/CD pipelines are all in GitLab CE. It uses ...
1
vote
3answers
154 views

Where to store application configuration

Until now for each of our applications we store application configuration in the same repository as the code that uses the configuration. We have environment specific yml files (dev, test, .., prod) ...
2
votes
1answer
140 views

Where to store config settings in a text file and when in a database?

I have several web applications. All of them have config files. I'm trying to figure out when it's appropriate to store data in a config file and when in database in json or free format? For instance, ...
1
vote
0answers
39 views

Change management configuration item identification

I am busy implementing a change management process because we have a complex environment, and there is too much oral tradition here. As a starting point, I want to create a list of configuration ...
1
vote
4answers
118 views

Dealing with settings that will change on a per-environment basis?

We have a bunch of appSettings in our ASP.NET web application, not to mention connection strings, that change on a per-environment basis. Not just for different environments to which the web ...
0
votes
1answer
133 views

Is it a good practice to store constants in configuration files [duplicate]

In my project I have some constants where I reference almost everywhere: public sealed class Constants{ public static readonly int MAX_QUAL { get; } = 1080; public static readonly bool CC { ...
0
votes
0answers
58 views

Variable/config/secrets management options

I'm currently transitioning my app from Heroku to a more custom environment (to scale beyond what Heroku can offer) and I'm looking for a solution for configuration and environment variables. Here is ...
7
votes
1answer
531 views

How to apply environment specific changes within the classic Git branching model?

I understand classic branching and deployment model as saying (in some small variant of the below): makes the changes on dev branch merge dev > staging branch, deploy to staging server, test it out ...
1
vote
1answer
73 views

Package time config management for microservices

There are solutions in the market such as Spring cloud, Consul etc. which can store and serve env. specific configuration data. But all of these services involve a runtime or boot-time dependency ...
2
votes
1answer
223 views

How to handle artifacts across multiple teams and repositories?

Our situation We have 8 teams and each team produces 8 artifacts (A,B,C, etc). Half of the teams use Git, the rest use clearcase. I would like to have each team utilize Git but this will be a ...
0
votes
1answer
214 views

Shared configs between backend and frontend

I have some data (list of parameters) that should be shared across the backend and the frontend. The changes are really infrequent, and changes usually mean a redeploy. Currently, it is stored in the ...
69
votes
6answers
15k views

How bad of an idea is it to use Python files as configuration files?

I've always used JSON files for configuration of my applications. I started using them from when I coded a lot of Java, and now I'm working mainly on server-side and data science Python development ...
1
vote
1answer
102 views

Managing Linux Kernel Config Files in Revision control

I am working on some Linux kernel drivers for a specific embedded system (NVIDIA Tegra X1). I am using the kernel source provided by NVIDIA (L4T), which has its own default kernel config files. My ...
13
votes
5answers
731 views

Best practices for handling large number of structured configuration/property files

Imagine a system that has a large number of servers. Each of them has a number of settings: Some specific to the server Some specific to the region Some common across all of them Maybe you can have ...
4
votes
2answers
103 views

Java Properties Files for Both Operations and Developers

We have an enterprise application. Maven build, about 20 submodules with more submodules. We have a dedicated Ops (operations) which deploys our application to 10 clusters. Installations are running ...
5
votes
1answer
355 views

Managing release configurations when using TFS Build

The organisation I work for currently uses web deploy to release to different environments. Configuration of web applications (connection strings, service url's, and so on) is managed using solution ...
1
vote
0answers
39 views

Structure to store resources in SCM repository

I have 3 artifacts for my application as below. One Jar file sql scripts Templates I need to bundle all 3 as part of a snapshot bamboo build that uploads them into a repository. Is there any known ...
6
votes
2answers
962 views

Right way to spread secret keys between microservices

I have a few services that sign some data with an asymmetric cryptography algorithm (like RSA). I need to spread some secret (private) keys between all instances of the service. I've found a few ways ...
1
vote
0answers
30 views

Setup SVN repository with multiple applications and libaries while maintaining specific versioning per application

In our project team we have one SVN repository which holds multiple applications and libraries (all QT projects) /trunk/App_X/ /trunk/App_Y/ /trunk/App_Z/ /trunk/Lib_A/ /trunk/Lib_B/ /trunk/Lib_C/ ...
4
votes
1answer
147 views

Should the HEAD version of the trunk always build?

At my workplace we use CVS tags to the extent that nobody ever retrieves the HEAD version of the trunk. Is there any reason why that version still needs to build fully? The reason I ask is because ...
1
vote
0answers
239 views

Centralized management of app.config parts for self-hosted .NET services

What will be the best way to handle these scenarios, if they are not one-time, but regular: Self-hosted services on quite a bunch of machines are needed to be reconfigured to a different database in ...
4
votes
4answers
261 views

Is there a reason for support multiple different releases?

I have a discussion with my team recently and I heard a suggestion for deploying multiple releases. Such as version (newest) and version (old). But I am thinking what would be the reason for customer ...
5
votes
3answers
449 views

Writing R packages to replace .R scripts?

In our company we have a handful of R users who have collectively written some ~30 .R scripts over the last year. The scripts are mostly 100 lines or less, defining useful and reusable functions. ...
1
vote
1answer
69 views

Encapsulate algorithm configuration in system hierarchy [closed]

Say, I'm building a system that uses various complex algorithms (k means, mean shift, a few others), all of which are parameterized. I'm highlighting `uses', because the system is not just a thin ...
7
votes
1answer
1k views

What do SCM tools (Ansible, Puppet, Chef, etc.) provide?

I've read quite a lot about Software Configuration Management (on the Internet and also SWEBOK), but I have no clear what is the purpose of SCM tools. Or, better said, what do these tools provide that ...
0
votes
2answers
115 views

Single File for different versions of a configuration file

Please suggest best design for accomodating different versions of configuration file(INI format) into a single file. My requirement is I have three different versions of a configuration say V1.config, ...
0
votes
1answer
68 views

Creating service to distribute passwords to architecture

We have big legacy code working for big corporation connecting to multiple remote/local databases. The configuration files with IP, name and password for connecting to different databases are now ...
8
votes
5answers
808 views

How to prevent changes to an internal API from breaking other projects?

We have like 20 - 30 independent modules/solutions. Each of these has about 7 - 10 projects with different classes, components, etc. These are all used internal to our company. Our problem is when ...
1
vote
5answers
616 views

TDD, configuration management, configuration patterns (PHP)

I'm writing a PHP application, following test driven development principles. I want two different configurations: one for development, and one for production. I will be continually expanding the ...
4
votes
1answer
209 views

Config files for database-level business rules

In my application, I have a lot of SQL queries that have business logic embedded in them. For example, in searches I 'hide' results that are low ranked, less than -5 'community rating' because those ...
2
votes
2answers
174 views

How to handle large number of configuration parameters across a program conceptually?

Imagine a software system where you have like 100 parameters, each of which is sensible to change (in my case this is a reasearch system for machine learning). The obvious solution is to store all ...
31
votes
5answers
6k views

Bad practice - switch case to set environment

In the last three years that I have worked as developer, I have seen a lot of examples where people use a switch statement to set the path (both in back-end and front-end) for a URL. Below is an ...
25
votes
7answers
16k views

What is the preferred way to store application configurations?

Most of the time, I store development application config in root directory of the project, like this: app |-- config.json But that doesn't seem to be the best approach, since this config ends up ...
6
votes
1answer
424 views

In SemVer should I increase the version on every commit/accepted pull request

Running a community project. Have a few pull requests that have been made and the version of our product is currently 2.5.0 All 3 of the changes are feature adds but are backwardly compatible. Should ...
1
vote
0answers
103 views

Should a 12Factor App persist config in the DB?

The 12factor approach to config is The twelve-factor app stores config in environment variables...they are a language- and OS-agnostic standard. I've worked on many (rails) projects where ...
0
votes
2answers
379 views

Trade-off between locality and repetition

Let me explain what I mean by locality and repetition. The current crop of configuration management tools decouple the configuration from everything else even when it is somewhat detrimental to do so. ...
0
votes
0answers
36 views

Where would you put configurable data to minimize Change Management slow downs?

I want to start by saying I understand Change Management's job especially when there are government contracts and security policies that must be followed. They are invaluable to prevent the mayhem ...
0
votes
1answer
872 views

Project configs for Java projects

How to store configs for project in Java. In normally case i stored it in 'src/main/resources/' with *.properties. How best approach for storing projects config for development, local, production ...
1
vote
1answer
288 views

What's a good way to explain that system configuration at run time should not be changed by code at compile time? [closed]

I am programming for a embedded system. When this system boots up it reads from a configuration file some data and execute rules to put the system state according to the configuration read. This ...
5
votes
2answers
8k views

Is Chef an appropriate tool to use for application deployment? [closed]

We use Chef for both config management (making sure a "DB Node" has the right version of the right DB on it; that an "App Server" has the right version of Java and env vars on it, etc.). as well as ...
3
votes
4answers
133 views

How to handle updated configuration when it's already been cloned for editing

Really sorry about the title that probably doesn't make much sense. Hopefully I can explain myself better here as it's something that's kinda bugged me for ages, and is now becoming a pressing concern ...
3
votes
2answers
326 views

How to use Subversion in conjunction with DTAP with several Scrum teams?

I've read How Do You Pull Something from a Release?, but it doesn't solve our problems, as our case is more complex. Our situation is as follows. We're developing an application for an internal ...
3
votes
3answers
4k views

Best practice for configuration files in a website

I am creating something similar to a Content Management System, that can be downloaded and used by everyone that needs it. I've been working in web-development for a couple of years (mainly as a hobby,...
5
votes
4answers
955 views

How do I handle merging code that hasn't been merged in ~3 years in an agile manner? [closed]

Our team has recently adopted agile practices and most of the team is new to agile. In our product, we use some code developed by another team and only they maintain that code. For the last 4-5 years,...
3
votes
1answer
123 views

Where to keep track of batch editing scripts?

It is sometime useful to write a script to perform a batch editing on several files in a source tree. Such a script is usually very specific and used only once. Such scripts can be used to rework ...
9
votes
6answers
2k views

Code ownership with multiple Scrum teams

If two Scrum teams use the same software component, who is responsible for providing a clear architectural vision of that component and maintain/develop this vision as the code base evolves? In Scrum ...
15
votes
2answers
4k views

How do you manage config with dependency injection?

I am a big fan of DI/IOC. It is great for handling/abstracting away hard dependencies, and makes life a little easier. However I have a small gripe with it, which I am not sure how to solve. The ...
1
vote
1answer
163 views

How to deal with bad versioned software as SCM [closed]

I have been asked to be the SCM (Software Configuration Manager) in my company. I've read online documentation to learn what SCM is, what SCM does, etc. Currently, the company works with a version ...