Questions tagged [configuration-management]
Software configuration management (SCM) is the task of tracking and controlling changes in the software deployments
404
questions
0
votes
2
answers
20
views
Is it possible to map manual copied files at Perforce?
I'm managing small team project with perforce.
We are now trying to merge our files, which we worked itselves.
But, our data is very large and network is very slow.
So, we want to copy files with HDD ...
0
votes
0
answers
18
views
Knife Bootstrap SSH connection failed with username and password
I am trying to perform "knife bootstrap" for registering my node to the workstation.
I have vm's on azure. (inbound ports are enables)
I am using this command to do the knife bootstrap :
&...
0
votes
0
answers
75
views
How can I define multiple included tasks tags based on the ansible_os_family in ansible playbook?
I have two different Ansible task files to install docker based on the OS fimily (Debian based and Redhat based). These task files are included in a main playbook (install_docker.yml) using the ...
0
votes
0
answers
52
views
Error: The apk for your currently selected variant cannot be signed. Please specify a signing configuration for this variant (release)
after swith to the latest version of android studio i afce the follwing error>
Error: The apk for your currently selected variant cannot be signed. Please specify a signing configuration for this ...
0
votes
1
answer
35
views
Infrastructure as Code: How do you reconcile or balance mutable vs immutable aspects [closed]
We're on our migration path to IaC and I buy into the immutable concept. But my team is asking good questions, like: "you want me to redeploy an entire fleet of VMs just because we need to make a ...
1
vote
2
answers
261
views
Can I use ansible-playbook "--extra-vars" to execute roles conditionally
I have an Ansible playbook I am working on and I am trying to make the execution a little more dynamic. I have two roles that don't always need to be run in conjunction, sometimes only one of them ...
1
vote
1
answer
64
views
Using separate PRs for deployment rollout and rollback: not working as expected
We have scenario where for any application config changes in Prod, we create 2 PRs: 1 for implementation and another for rollback.
We create these in advance. Then, we get them reviewed and approved.
...
0
votes
0
answers
20
views
How does Amazon configure and manage the EC2 instances for RDS and similar services?
Many different AWS services use EC2 instances and you can understand that from the pricing pages.
Basically it's a multi-instance architecture (and not the more familiar multi-tenant approach that I ...
0
votes
0
answers
32
views
"Root of Configuration" for GitOps and CI/CD
In reading about configuration management, GitOps and CI/CD-Pipelines, I didn't find a good answer to the following question:
Who manages the configuration for the configuration management tools?
If, ...
1
vote
0
answers
112
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
160
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 ...
3
votes
0
answers
695
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
172
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 ...
21
votes
3
answers
5k
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
1
answer
461
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
237
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 ...
2
votes
2
answers
611
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
720
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
109
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
247
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
302
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
62
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
585
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
...
3
votes
1
answer
4k
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
2
answers
515
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
573
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
280
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
715
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
378
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
161
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
1k
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
718
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
767
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
4k
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
410
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
283
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
6k
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
81
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
864
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
420
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
266
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
309
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 ...
4
votes
2
answers
557
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
3k
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
98
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
11k
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 ...