
SaltStack custom state: How to download file from "salt:" URI
Mar 26, 2025 · SaltStack custom state: How to download file from "salt:" URI Asked 8 months ago Modified 7 months ago Viewed 191 times
saltstack - custom module to render a variable inside a pillar
Mar 5, 2023 · The salt loader doesn't contain runners, it contains execution modules. To call a runner from a pillar template, use saltutil.runner.
Salt script local copy multiple files from one dir to another
Nov 25, 2024 · Looks like this is a confusion between the execution module and state module. To use execution module from within state (SLS) files, we need to specify module.run. Otherwise Saltstack …
SaltStack - How to conditionally enforce states? - Stack Overflow
Aug 30, 2018 · This is a self-answered question. Please provide edits, additional points of view and input if needed. What is the best practice for conditionally enforcing states (depending on other command …
salt project - SaltStack : is it possible to apply states on the master ...
I am a total beginner with SaltStack but I have managed to setup some states on a machine and run them on a minion. What I have right now is a Debian machine setup with salt-master as well as anot...
How do I pass parameters to a salt state file? - Stack Overflow
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...
Using file.managed for downloading a file in Salt
Jul 20, 2015 · salt.states.file.managed takes source_hash as an argument to verify a downloaded file. This blocks me from using file.managed for a file on an online server I don't have control over. The …
What are "states" when using SaltStack? - Stack Overflow
Nov 18, 2015 · I'm trying SaltStack after using Puppet for a while, but I can't understand their use of the word "state". My understanding is that, for example, a light switch has 2 possible states - on or off. ...
saltstack best practices on AWS - Stack Overflow
I'd prefer to use saltstack set everything up because I like the orchestration of salt and the event based stuff, like beacons & reactors. Plus it's easy to write your own customised python module. We will …
saltstack: run parallel / wait for other jobs - Stack Overflow
saltstack: run parallel / wait for other jobs Asked 8 years, 8 months ago Modified 3 months ago Viewed 4k times