salt-stack

How do I pass parameters to a salt state file?

How do I pass parameters to a salt state file? Question: I want to create a group and user using salt state files, but I do not know the group, gid, user, uid, sshkey until I need to execute the salt state file which I would like to pass in as parameters. I have read …

Total answers: 4

Salt minion how to elevate non-root user with sudo?

Salt minion how to elevate non-root user with sudo? Question: I am getting permission denied errors when trying to run minion as non-root. I created a special user called ‘salt-master’ and gave it sudo privileges. Yet I am still seeing permission denied errors. I am using the salt master and minion on the same server …

Total answers: 1

Salt Stack: using execution modules in SLS

Salt Stack: using execution modules in SLS Question: So far as I can see in the Salt documentation (e.g. here) there are two main types of modules supported: state modules and execution modules (I know there are also renderers, returners, and so on). Most of examples of SLS files contain statements related only to state …

Total answers: 1