Questions tagged [configuration-management]
Software configuration management (SCM) is the task of tracking and controlling changes in the software deployments
394
questions
0
votes
0answers
5 views
Configuration Management with Azure DevOps
Looking for documentation specifically dealing with Configuration Management using Azure DevOps. There is information but not specifically detailing how to use DevOps with it or setting it up.
0
votes
0answers
8 views
Does ribbon and zuul use netflix archaius to read configs from config file?
As per the archaius documentation, when we define configs in config.properties file in the classpath, it will take those configs by default.
https://github.com/Netflix/archaius/wiki/Getting-Started
So ...
0
votes
2answers
22 views
Puppet not uninstalling package
I'm trying to uninstall packageA with puppet, however puppet doesn't uninstall.
My package resource looks like this:
package {
'packageA':
ensure => absent,
provider ...
0
votes
0answers
26 views
How to make sure RabbitMQ configuration isn't manually changed
We have a RabbitMQ server that different products need to configure for their own purposes. We are looking at different options to automate and manage configuration of RabbitMQ for different products ...
0
votes
0answers
13 views
Why doesn't my complex inversion matcher work in SaltStack?
I am trying out some complex matchers in a local testing SaltStack environment with only one Minion running Ubuntu.
When I issue the command
salt -C 'not G@os_family:RedHat' test.ping
Now I would ...
1
vote
1answer
15 views
Running commands on all/specific chef nodes in parallel
My development ,staging and production servers (webapps, webservers, databases and some other services) are provisioned and configured with chef infra and connected to chef-server.
I want to ssh and ...
1
vote
1answer
29 views
Puppet copy file if not empty
I have a requirement where I need to check for a file on the puppet master and copy it to the agent only if it is not empty.
I have the following so far:
exec {
'check_empty_file':
...
1
vote
1answer
23 views
Declaring configuration of custom configurable application in java?
So for a hobby project of mine, I would like to create an application that translates an HTTP call and request between two services.
The application does that based on a configuration that can be set ...
0
votes
0answers
40 views
Working on win_file Ansible module to manage windows host. My Requirement is to exclude a file or directory getting deleted from the path provided
Executed the below playbook
---
- hosts: windows
tasks:
- name: Removing the existing files
win_file:
path: D:\win\test\
state: absent
exclude: abc.txt
Expected Output: 'test' folder will only ...
0
votes
1answer
38 views
fatal: [212.117.31.141]: FAILED! => {“msg”: “Failed to get information on remote file (file.jar): Not a directory”}
Can't copy files ,because I get this error "Not a directory"
- name: Copy file with owner and permissions
copy:
src: files/
dest: /opt/day/scripts
owner: author
group: aem
...
0
votes
0answers
27 views
Consul handling dynamic IP address
If suppose I have a node-exporter for my project running on aws instance its IP:port is:- "10.0.0.1:9100". I used the agent service register to add it to the consul. Then used consul_sd to ...
0
votes
1answer
598 views
Breaking down of one prometheus.yml file?
I am using Prometheus for our monitoring and I have a lot of configs (our prometheus.yml main config file is 8000+ lines long).
I would like to divide this out into logical groupings so that it ...
0
votes
1answer
121 views
dynamic configuration techniques for Microservices
I'm running micro services on Kubernetes cluster, currently all my configurations are injected as environment variables at the time of deployment but few micro services require certain business ...
0
votes
2answers
162 views
Terraform - How do I map different azure environment variable files?
I have below two environments terraform files
devenv_variables.tfvars
testenv_variables.tfvars
Here is devenv_variables.tfvars
location = "westeurope"
resource_group_name = "devenv-...
0
votes
1answer
121 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 ...
1
vote
1answer
240 views
To run playbook based on ansible_distribution
I have written separate playbooks for tomcat deployment on both Ubuntu and Linux as well, instead of mentioning **
when: ansible_distribution == 'Ubuntu'
**in every line in the playbook, i want ...
0
votes
1answer
220 views
Centralized configuration for microservices and fat clients
We're looking into how we could manage the configuration of several microservices (10 - 15 services) and fat client applications which are installed in equipment (several hundreds). The applications ...
0
votes
1answer
96 views
Automate the installation and configuration of Jenkins using puppet
Is there a way to automate the installation of Jenkins using puppet language?
I want to be able to install Jenkins and its prerequisites without manual intervention, and configure it to serve requests ...
1
vote
1answer
325 views
How to extend dict in ansible, not overwriting it?
Let's say I have an ansible role which being imported in any place will clone repositories to specified path, called "git_role", for example.
It's mechanism, clone repositories for projects doing by ...
0
votes
1answer
370 views
Use cases of dynamic inventories VS static inventories with ansible
I am trying to query a list of ec2 instances via ansible using the ec2 plugin for dynamic inventories.
I can see the utility of using dynamic inventories. If new machines are added then ansible will ...
0
votes
0answers
311 views
SCCM - Task sequence with application failure
I have been having some issues lately when including applications in task sequences. When running any task sequence that contains applications, it automatically fails, and says "The referenced package ...
3
votes
3answers
2k views
Is it possible to call ansible or ansible-playbook directly on a target host using a script or ansible itself?
I need to know if it's possible to call / execute ansible playbooks from the target machine. I think i saw a vendor do it or at least something similar. they downloaded a script and it did ran the ...
0
votes
1answer
148 views
DOORS creates Object ID while they are not saved
I am adding some 2000 new objects to a DOORS module, I do this by importing a spread sheet with blank IDs, DOORS is supposed to create IDs for those blank rows.
Now the problem is, while i import ...
1
vote
1answer
105 views
Service account deleted from SQL Server but SQL Agent Job is still running under the context of the deleted account. How?
We are using SQL Server 2014.
Background: This is a follow-up question to researching configuration management issues across SQL Server environments (i.e., development, test, stage, and production) -...
2
votes
2answers
763 views
Integration Services Catalog folder permissions changed
Question: Do any of the SQL Server systems tables in either SSISDB or MSDB contain information that would allow me to discover which users are making changes to folder permissions in the Integration ...
3
votes
2answers
4k views
What is the best practice for overriding values in helm subcharts on a per-cluster basis?
First, a little context: I have 4 Kubernetes clusters, one for each environment (develop, staging, testing, prod). Each cluster has its own values.yaml file with env-specific configuration of all helm ...
0
votes
1answer
43 views
To install pdf reader on Windows and Linux - Chef
For config mgmt, we first moved from Shell scripting to Python scripting, for the purpose of smooth transition in supporting any new platform(OS), with minimum code changes. Python code uses popen() ...
1
vote
1answer
130 views
Kubernetes Master API SERVER IP
I've k8s cluster and pod which one living in there .
So , I have got a requirements for pod process .
Pod need a Cluster Ip for manage some jobs . How I can set the API Server name as a ...
0
votes
1answer
565 views
Why isn't my Salt minion showing any pillar attributes?
I've been through the salt and pillar walkthroughs and in general, everything works as expected with my setup. In fact, there isn't anything that I'm aware of that isn't working properly...until now.
...
0
votes
1answer
290 views
How can I “sprinkle” my minions with custom grains when deploying salt-minion using Saltify (salt-cloud)?
I've gotten saltify to work on a fresh minion. I am able to specify a profile for the minion as well. However, I don't know how to assign custom grains to my minion during this process.
Here's my ...
2
votes
1answer
196 views
Configure remote rulesets with Puppet
I'm trying to automate the Prometheus node_exporter and my Prometheus Server.
For the node_exporter I've written a module to install all the needed packages, set the $::ipaddress based on facter and ...
3
votes
1answer
209 views
Create a symlink with setuptools
Django never came up with a standard way how to handle the configuration. Django puts it into the settings.py in the project directory by default which is not very practicable as you wouldn't want to ...
3
votes
2answers
340 views
Sharing the same settings.xml maven configuration for the whole team
We have a very big maven configuration with very many repositories, plugin repositories, and various other things.
We always end up having to manually copy/paste the same file to other team members, ...
0
votes
1answer
2k views
Drupal 8 custom modules - Installing additional configuration from YML files with a hook_update_N
I have a custom module which installs a specific set of configurations - these are all stored in the config/install folder, which means they are installed when the module is installed.
The ...
0
votes
1answer
38 views
How do I bootstrap my EC2 webserver to connect to the Chef GUI page? Where it says nodes
I'm trying to get my CentOS 7 EC2 instance to show under here...?
https://api.chef.io/organizations/rp_training_org/nodes
I have an CentOS 7 EC2 instance with ChefDK installed and I need to get it ...
1
vote
2answers
4k views
How to restrict branch creation based on pattern in Bitbucket
I am using Atlassian Bitbucket server v4.8.6.
How do I restrict restrict branch creation based on pattern.
Rules explained below -
Only ABC team should be able to create release/ABC-*
Only XYZ team ...
1
vote
1answer
2k views
git add files from different directories
I am trying to use git as a configuration management/backup solution for multiple directories. My thinking was to setup a cron job to do nightly commits and push to our central repository. What is the ...
3
votes
1answer
250 views
Multi-platform compilation: System.Configuration.ConfigurationManager.GetSection throws error on .NetCore
Background:
We are in the process of migrating .Net application to .Net Core.
As a strategy, we would like to keep the existing functionality intact on Full framework while migrating portion of the ...
1
vote
2answers
408 views
A Configuration Management Tool that includes version control?
TL;DR is there any tools that have features for both version controlling and configuration management?
I am completely lost at Configuration management and version control tool, what I can conclude ...
-1
votes
1answer
221 views
Ansible regex_replace does not work
"{{ archive_name | regex_replace('^(.*-)?.*-(.*)-.*-.*-.*-.*', '\\g<1>')}}"
Command above gives me an error in Ansible. archive_name is in the format of alpine-1.10-324bghz-i-2018-0503. I'm ...
0
votes
2answers
5k views
Creating user passwords from an Ansible Playbook
I'm sure someone here can solve my problem. I am creating users on hosts that are defined in my Ansible hosts file. BUT when the users wish to login, the root user needs to define the user password. I ...
0
votes
1answer
27 views
Track changes in configuration tables and create automated scripts to deploy them other envionments
In the product that I work on, there are many configuration tables. I need to find a way to track configuration changes (hopefully with some kind of version/changeset number), deploy the configuration ...
1
vote
1answer
1k views
Configuration management with Kubernetes and Helm
I am new to Kubernetes and Helm. I am coming from a plain Docker/docker-compose world.
I have some complex services running multiple Docker containers that require a lot of configuration parameters ...
2
votes
2answers
1k views
import file to zookeeper in java
I am using zookeeper for configuration management for my java microservices. For that I use apache curator and java zookeeper client.
How can I import a configuration file(properties or json) to ...
1
vote
1answer
514 views
Ant <junit> task fails on Jenkins due to NoSuchMethodError: org.apache.tools.ant.types.resources.Resources.setCache(Z)V
I am running ant tasks on 1.7.1 version of Ant using ant jenkins plugin. Build fails due to following error -
BUILD FAILED
java.lang.NoSuchMethodError: org.apache.tools.ant.types.resources.Resources....
1
vote
2answers
4k views
Job for puppetserver.service failed because the control process exited with error code
Puppet: 5.3.3
OS: Ubuntu Xenial (virtual box)
Inbuilt RAM: 4GB
I am new to Puppet. After installing Puppet v5.3.3, I wanted to start the server:
systemctl start puppetserver (or service ...
2
votes
1answer
55 views
Is it possible to use patterns as branch type restrictions when creating a ClearCase trigger?
I'd like to create a branch restriction for a ClearCase preop merge trigger.
However, it should fire based not on the exact branch type, but rather
based on whether the branch type follows a specific ...
1
vote
2answers
107 views
Is it possible to specify who is allowed to set a ClearCase attribute on a file?
Just what the title says: can I control what user is able to modify ClearCase attributes
on a file-per-file basis based on some kind of permission system?
I am using Unix, but it also might be ...
0
votes
1answer
397 views
What is Most recent discovery in cmdb_ci table
I want to understand what is the role of 'Most recent discovery' in cmdb_ci table. What are the scenarios when this field got updated.
0
votes
1answer
131 views
Puppet & Docker [closed]
I was going through Puppet and comparing it with Docker.
I came to know that Puppet is used for configuration management for scalable infrastructure. New VM's setup can be done with same ...