Questions tagged as ['saltstack']
I have troubles with Salt, installed on an HPC cluster. All maintenance commands (i.e. salt commands) are made from master0
. The minions to be managed are named node0
, node1
, ..., node4
. When I try to install a package on a minion (let's say python's numpy on node0
), I get the following error:
[root@master0 ~]# salt 'node0' pkg.install python3-numpy
*duplicate lines removed*
https://vault.centos.org/7 ...
Recently I've implemented Salt on physical minions in our enterprise environment as a "backup" solution in case our current management system takes a nose dive and we need to restore configurations on nearly a thousand clients without having to get hands on with each computer, as well as an easy way to manage certain local files/scripts through git. The biggest challenge I'm facing is how to prevent du ...

I have enabled the rest_cherrypy in the salt master
Currently trying to call the jobs API (https://docs.saltproject.io/en/latest/ref/netapi/all/salt.netapi.rest_cherrypy.html#salt.netapi.rest_cherrypy.app.Jobs) to find the job status.
Although i am able to authenticate and submit that job using these APIs, but i am not able to get the job details. Please help me with this.
PAM config :
external_auth: ...
I'm getting this error when I'm trying to apply my statefile to my minion: client.school.test: Data failed to compile:
Rendering SLS 'base:nextcloud2' failed: Jinja variable 'list object' has no attribute 'db_name'
I'm trying to enter the data required to create a mysql database and user. The data is the file mysql.sls in the directory /srv/pillar
mysql:
- user: dbuser
- password: Password91!
- d ...

I'm working on storing some sensitive data stored in my salt pillar files away, into an external DB (possibly Redis).
I could not help wondering if it is possible to request the externally stored data from within the pillar files, so that I can use the benefits of globbing in pillars.
Example, in my Redis DB, I store a key_value pair: mysql_pass: superSecretPassword
And inside my salt master, under pil ...