Questions tagged [configuration-management]

Configuration Management refers to establishing and maintaining standardized system configurations within an organization. This tag encompasses the process of defining the configuration profiles, and the software used to manage and deploy it.

Filter by
Sorted by
Tagged with
0
votes
1answer
42 views

Back up arbitrary config files on linux servers in RANCID

I use RANCID to back up router and switch configurations. I'd also like to be able to have it take automatic backups of configuration files on my servers so I can easily see when changes occur and if ...
4
votes
1answer
5k views

SCCM Report: Update Compliance per Device in a collection

I'm trying my hand at building a custom SCCM report and could use some help from those who have more experience with the database structure than I do. What I would like is to list: Device Collection ...
0
votes
1answer
114 views

Set sysfs network option before interface is up

I want to set /sys/class/net/wwan0/qmi/raw_ip, and I don't want to do it by writing a shell script to take wwan0 down set it, then put wwan0 back up as a systemd unit. I'm trying this on Raspbian ...
0
votes
1answer
2k views

ANSIBLE set tags per item in with_items loop

I have this playbook to create ec2 instances and will like to target each ec2 creation by tags but not working...when i run playbook i do not get any errors but notting gets created. --- - name: ...
2
votes
1answer
1k views

Ansible/Capistrano with fixed sudo command (“sudo su -”)

I have to administer some half-managed servers (monstly CentOS 6), where we are only allowed to login as a regular user, then do "sudo su -" and type the regular user password, and then run the ...
1
vote
1answer
17 views

CouchDB deleted database shards

Currently running clustered CouchDB v3.1.1 on an AWS EC2 Instance q=2 n=3 Number of Nodes: 1 I have moved the database directory to another drive on my VM. But can't find any on the documents ...
0
votes
2answers
37 views

Improve MariaDB Execution Time

I have a database with one table and three fields (id, hash, creation time). This table got around 30 million records, the execution time for a query like SELECT * from `table` WHERE hash='...
0
votes
2answers
2k views

Configuring a PHP Web Service Container at Build Time

I am building a PHP Web Service Container Prototype. The first and simplest way was to create a Container with the official Image published by WordPress with a simple Dockerfile like: FROM wordpress:...
0
votes
1answer
1k views

Saltstack - Error - No Top file or external nodes data matches found

I'm trying to configure my Saltstack Architecture. I followed all the steps, but It seems not working and I'm not able to find the problem. /etc/salt/master file_roots: base: - /srv/salt dev: - /...
4
votes
1answer
417 views

Ansible variable precedence

I'm trying to understand variable precedence in Ansible - more exactly the part about host_vars and group_vars in inventory or playbook. My layout looks like this: production/ ├── inventory (alfa, ...
0
votes
0answers
33 views

Which Type to use for creating Storage Transfer jobs via Deployment Manager

I'm trying to create and manage a TransferJob for Google Storage Transfer service via Google Deployment Manager. The aim is to copy objects from one Cloud Storage bucket to another daily. Since I can'...
1
vote
0answers
22 views

How to handle and avoid unmanaged system state with configuration management?

When managing the state of a server using a configuration management tool (e.g. salt, puppet, ansible), one can quite easily develop 'unmanaged' state through application of successive versions of the ...
2
votes
2answers
3k views

How can I configure exim4 with a smarthost via puppet?

I have tried to automate the exim setup via puppet. I followed the approach described here, whiched worked for me for a few packages, but for exim I had a problem: one selection was not correctly ...
5
votes
3answers
4k views

How to manage linux workstations with policies

I am going to be administering a small network of linux based workstations for a charity institution (not all have the same distro- some are ubuntu and some are fedora). Is there something in Linux ...
0
votes
0answers
633 views

ansible set static IP centos 7

I am new to ansible and I am trying to execute a very simple playbook : assign a static IP address to a centos7 machine I just cloned in Virtualbox. I am starting from scratch as I surprisingly haven'...
0
votes
1answer
333 views

How to do a git push using ansible

I'm using Ansible to make a pull i do this tasks: - name: pull from git git: repo: git@gitlab.com:xyz.git dest: /root/Development/abc update: yes version: ...
0
votes
0answers
45 views

Preventative config settings to ensure long-running PHP scripts don’t create hanging MySQL transactions and failure

I’d like to know if there is a PHP/MySQL configuration option (or combination of options) that can prevent long-running PHP scripts in a small number of places from creating hanging and sleeping MySQL ...
0
votes
1answer
759 views

Can't Access CIMC

I have a Cisco UCS C220 M3, and it has the Flash/Java-based CIMC interface. When getting Flash, the only versions are for Chromium-based browsers and Mozilla-based browsers. However, neither of those ...
0
votes
1answer
120 views

Salt Pillar: How to use different values for prod / dev?

I'm not sure if I am thinking about this the right way, but here is my Problem: I want to use the same Salt state and pillar configuration for production, development and test servers. The only ...
0
votes
2answers
6k views

Config Manager 2012 Application Download stuck at 0%

We have a Config Manager 2012 R2 setup with 2 Distribution Points on remote sites. In the remote site the Applications don't get downloaded, the status remains on 'downloading (0% complete)' In the ...
0
votes
2answers
52 views

Using Configuration management tools to synchronize large files

We are looking into using a configuration mangement tool (like Salt or Puppet) to automate what is currently a lot of manual work. One requirement is that we have to distribute rather large files / ...
22
votes
3answers
19k views

Configuration management: push versus pull based topology

The more established configuration management (CM) systems like Puppet and Chef use a pull-based approach: clients poll a centralized master periodically for updates. Some of them offer a masterless ...
8
votes
3answers
50k views

How to do a git pull/push using ansible

I am trying to do a git pull/push using ansible. I am running ansible on one server and want to automate or orchestrate a git pull/push on a remote host. Now since i didn't find a mmodule to do this ...
1
vote
2answers
242 views

Breaking down 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
0answers
29 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 ...
1
vote
1answer
32 views

dividing line between developer and sysadmin for server patch management [closed]

I know this question probably doesn't go here. but I dont know which overflow site to use. We have a web server that we use for customers to access our things. Our IT/security team believes it is on ...
12
votes
1answer
44k views

How do I print the current hostname of a host in ansible

I wrote a role to edit the motd when user log into the machine, but I want to personalize the motd to print the hostname of the machine What variable do I use? or how do I do this? template? how? I ...
3
votes
3answers
7k views

How to generate customized sudoers files in puppet depending on the environment they're deployed to?

the sysadmins are present in the sudoers files of all environments, but other sudoers are not. Different environments all have slightly different sudoers. Most of the time, 90% of users are the same, ...
1
vote
1answer
114 views

How to distribure sudoers files with REX Configuration Management

When trying to push a sudoers file to other machines, the rexcm task/command gets stuck. The Problem is (so it seems to me), that the sudoers file is owned by the rex-user when writing and "other" ...
1
vote
1answer
134 views

How to backup a file before changing it with “REX Configuration management” (rexify)

How do I backup files when making a change with rex cm (rexify.org) - or do I have to do this manually? I see no option in the File.pm API - description. I hope there is some undocumented feature. ...
0
votes
0answers
359 views

ansible Dynamic inventory Hosts value does not accept list of hosts

I am trying to create dynamic inventory for my setup. everywhere i see examples of IPs and hostname as list. but when i provide hosts value as list it error's out and says it has to be dict. Below ...
0
votes
1answer
38 views

Which server configuration management tool to use for my personal nextcloud deployment [closed]

I want to deploy a personal nextcloud application. I already have setup nextcloud using docker-compose, which tool should I use for server configuration management? I have the following things to ...
0
votes
0answers
143 views

Any downside to using `sudo git` to upload `/etc/nginx/sites-available/` and `/etc/nginx/ssl/` config files on github?

I'm contemplating uploading config files from /etc/nginx/sites-available/ and /etc/nginx/ssl to a private Github repository. Doing so would require me to use git with sudo (or from root user) for the ...
1
vote
3answers
584 views

Auto-Retry Config Push with Ansible or Saltstack?

I'm trying to choose a configuration management system for 500-2000 very-geographically-distributed hosts. Due to varying network reliability, it's possible that a number of hosts may be temporarily ...
0
votes
1answer
32 views

Best practice for production server configuration changes?

Changing the configuration of a production server is dangerous. A safety measure might involve taking a full system image snapshot prior to the change, changing the configuration and then, in the ...
0
votes
1answer
48 views

How to edit .conf files from a script

On a new VPS I might want to ensure that certain config values are set, or amended if they already exist. For example in /etc/systemd/journald.conf I want to set SystemMaxUse=100M if it's not already ...
13
votes
1answer
6k views

How to split out Prometheus config files?

Right now we're using Prometheus for our monitoring and we have a lot of config (our prometheus.yml main config file is 1400+ lines long). I would like to split this out into logical groupings (maybe ...
0
votes
1answer
60 views

Nginx: Limiting number of connections for all content types with exceptions

I'm limiting number of simultaneous connections from one $remote_user to n using conn_limit It works like a charm. However, I will be thrilled to find a way to add exceptions to this. I want user to ...
0
votes
1answer
316 views

Nginx: restrict number of connections per basic auth user

Got nginx serving several big files. Users get access through basic authentication. htpasswd I want to curtail simultaneous download of files to 5 connections max PER USER. There are more than 1 user ...
5
votes
2answers
6k views

How to use Salt Stack with minions all behind NAT (not publicly accessible, default salt ports not open)?

Can Salt Stack minions communicate with the salt master from behind NAT/Firewalls, etc., using standard ports that would be open be default in all consumer NAT routers (and without the minions having ...
5
votes
1answer
1k views

Using Ansible ini_file with nested dict?

What I am trying to achieve is the following. Suppose we have a playbook similar to the following one: --- - hosts: local tasks: - ini_file: path: test.ini create: yes ...
2
votes
1answer
652 views

How to do docker-compose down without the config file that made the up?

When you do docker-compose up, it's based on a docker-compose.yml file. This usually brings up a network, builds and runs multiple services. If you do the up with the -d flag, the docker-compose ...
21
votes
5answers
46k views

puppet: force service restart after configuration file was modified

how can i ensure that if new version of configuration file is downloaded via puppet from master repository to one of managed servers relevant service is restarted. typical scenario - let's say there ...
1
vote
1answer
51 views

How to fingerprint (euclidian distance) a filesystem on linux?

I have a large number of systems (100s) managed by a small group of people which has changed over time. Each system is installed using a base image (which has its own version which is different ...
0
votes
1answer
97 views

Consul as service discovery and configuration server in on premises local network

We are developing a product that will work as a set of services deployed on-premises (e.g. in the local network of an office, factory, etc.). Since there can be lots of deployment targets for each ...
1
vote
1answer
258 views

System Center Configuration Manager using 'Run Script' feature on devices with AllSigned Execution Policy

We have System Center Configuration Manager version 1902 managing our devices. I would like to use the nice feature "Run Script", which runs PowerShell scripts on an entire collection of devices, but ...
0
votes
2answers
183 views

Docker remote administration tool for non-clustered workers

I am looking to scale a docker application used to perform periodic performance tests on equipment at several remote locations. This application requires running the same performance tests- using the ...
0
votes
1answer
526 views

Kubernetes nifi application deployment with configuration management

I have deployed my Ni-Fi application using Kubernetes on-prem setup. Now the image which i am using to spin up the docker container is from docker private registry, which i can see when i deployed ...
2
votes
1answer
103 views

Is there such a Chef service that managed by K8s? [closed]

I'm looking for a way to manage a Chef into my K8s cluster. My cluster is scaling up and down and I need a way to bootstrap different dependencies for each new node in the namespace. My nodes are in ...
-1
votes
1answer
48 views

linux servers configuration management best practice [closed]

I have a bunch of servers where I periodically need to perform various operations, such as adding new repositories, installing packages, changing a couple of lines in configuration files, what ...

1
2 3 4 5
8