Questions tagged [configuration-management]
Software configuration management (SCM) is the task of tracking and controlling changes in the software deployments
398
questions
0
votes
0
answers
11
views
GitHub Actions Are there Per-Target (Environment) Variable Values or Octopus Scoped Variable Equivalent?
Looking to deploy with actions to multiple environments. Environments are our logical environments, like Dev, Uat, Pro, etc. Deploy mechanic is same for all environments.
Given that the deploy is ...
0
votes
0
answers
43
views
Free Ansible / Puppet / Chef alternative
This is a question about your opinion on a script I wrote.
At my workplace I wrote a bash-script to execute commands on Linux-Systems (redhat). Since we got Ansible and Puppet nobody was interessted ...
0
votes
0
answers
17
views
Create zookeeper partial replication server
We were going through the Zookeeper documentation and found that zookeepers can have 2n+1 replica servers that contain the same data as that of the leader.
But in our requirement, we need a Central ...
0
votes
0
answers
158
views
How Cloud-init can be stopped on first error
When I start a linux server with Cloud-init, I have a few scripts in /etc/cloud/cloud.cfg.d/ and they run in reverse alphabetical order
# ll /etc/cloud/cloud.cfg.d/
total 28
-rw-r--r-- 1 root root ...
0
votes
0
answers
91
views
Salt stack top file execution
This is a sample of how my top file looks
base:
'*':
- sls_file_1
- sls_file_2
'smtp*':
- sls_file_3
- sls_file_4
sls_file_1 & sls_file_2 are expected to run on all minions ...
10
votes
3
answers
2k
views
What is the point of using Azure Key Vault instead of only App Configuration?
Is there any point in using Azure Key Vault over App Configuration?
Yes, yes, I know - they are complimentary, key vault for secrets, app config for... well, app config.
But, considering they are both ...
0
votes
0
answers
199
views
Configuration Manager is looking for policy
I've tried all the solutions proposed in the web with no luck.
The computer that i'm trying to boot is unknown for the ConfigMgr.
I've created two task sequences (x86 and x64) and applied them to All ...
0
votes
0
answers
169
views
Ansible: How to pause tasks of role until event happened on other host configured by another role?
I have two hosts which I want to setup with Ansible. Each host is assigned a role (host1: r1 and host2: r2). I run the configurations in one playbook.
Description:
Both roles run multiple tasks, but ...
1
vote
1
answer
234
views
Executing AddMembershipRule on SMS_Collection through REST Admin Service
We're trying to use the REST API of Administration Service to manage the Configuration Manager
(What is the administration service in Configuration Manager?)
We have successfully queried entities of ...
0
votes
2
answers
369
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
0
answers
70
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 ...
1
vote
1
answer
67
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
1
answer
118
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
1
answer
31
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
1
answer
195
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
...
1
vote
1
answer
2k
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
1
answer
338
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
2
answers
348
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
1
answer
249
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
1
answer
454
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
1
answer
303
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
1
answer
139
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 ...
2
votes
1
answer
686
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
1
answer
581
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
0
answers
553
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
3
answers
3k
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
1
answer
276
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
1
answer
165
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
2
answers
1k
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
2
answers
5k
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
1
answer
64
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
1
answer
222
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
1
answer
1k
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
1
answer
392
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
1
answer
224
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
1
answer
233
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
2
answers
444
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
1
answer
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
1
answer
70
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
2
answers
7k
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 ...
3
votes
1
answer
3k
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
1
answer
434
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
2
answers
514
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
1
answer
318
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
2
answers
6k
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
1
answer
30
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
1
answer
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
2
answers
2k
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
1
answer
675
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
3
answers
5k
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 ...