Questions tagged [saltstack]

The Salt Project, previously known as SaltStack, is a Python-based open-source configuration management software and remote execution engine.

Salt is an open source tool to manage your infrastructure. Easy enough to get running in minutes and fast enough to manage tens of thousands of servers and still get a response back in seconds.

Execute arbitrary shell commands or choose from dozens of pre-built modules of common (or complex) commands. Target individual servers or groups of servers based on name, defined roles, or a variety of system information such as hardware, software, operating system, current version, current environment, and many more.

Bring your servers up to a known configured state by writing simple lists of items and defining attributes on those lists.

Links

See also the salt-stack tag on Stack Overflow.

277 questions
0
votes
2 answers

Open SSL throwing unknown option '-n' in Amazon Linux2 instance

My code throws error when it reaches this line: {% set encrypted_password = salt['cmd.run']('openssl enc -aes-128-cbc -a -salt -md md5 -in <(echo -n "' + ssm_plaintext_password +'") -pass pass:'+random_password) %} Error: [ERROR ] Command…
0
votes
1 answer

Saltstack: Select data from database using salt

I want to select data from a database table (here mysql) with saltstack. In my test scenario I have a linux host called salt-master. On this host the database, the master and the minion are running. My target is to select the data with the minion,…
Jochem
  • 1
-1
votes
1 answer

SaltStack: create ssh keypair and add it to authorized_keys

Goal For testing, we want this to work: ssh $USER@localhost. create rsa keypair in ~/.ssh/, if not already there add .ssh/id_rsa.pub to .ssh/authorized_keys, if not already in this file. Question How to do this with salt-stack?
guettli
  • 3,113
  • 14
  • 59
  • 110
-1
votes
1 answer

What does bind to interface mean in Salt?

In the SaltStack master configuration there is the interface option: https://docs.saltstack.com/en/latest/ref/configuration/master.html It specifies the "The local interface to bind to". What does that mean? I've looked everywhere.
-1
votes
1 answer

SaltStack: install packages based on role

I would like to install Nagios plugins based on server role. The solution below works but I'm sure there is a more elegant/recommended way to achieve the same - any help would be appreciated. I don't like this explicit dictionary in merge statement…
HTF
  • 3,050
  • 14
  • 49
  • 78
-1
votes
1 answer

Minion management from salt server

I have done salt server set up on ( ubuntu 12.04)and minion(windows server 2008 r2) as per http://salt.readthedocs.org/ , Now i want to copy a folder includes .Exe files on it to minion in specific path and execute it, where my salt-minion(win 2008…
Natasha
  • 161
  • 1
  • 1
  • 4
-5
votes
2 answers

Configuration Managment Best Practice: List of Packages to install

Package names do differ on different platforms. Some call it httpd some apache2... Imagine your product supports RedHat, SuSE and Ubuntu. Each in two versions. Do you keep six lists of packages to install in your configuration management? AFAIK…
guettli
  • 3,113
  • 14
  • 59
  • 110
1 2 3
18
19