
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 189 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 project - How to automatically add custom grains attributes to ...
Jul 17, 2024 · It seems that SaltStack does not have a direct method to pass the result of one task to the next task, similar to how Ansible registers variables. How can I achieve my goal of setting grains …
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 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 …
Is there a Salt requisite that will execute a state only if another ...
Jan 6, 2022 · I have a situation where I only want to execute a salt state if another state does not run. Is that possible? E.g. State1 manages file-abc State2 has an onchanges requisite that will only run if ...
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 …
saltstack: run powershell script in a state - Stack Overflow
Jul 28, 2017 · saltstack: run powershell script in a state Asked 8 years, 4 months ago Modified 8 years, 4 months ago Viewed 12k times
How can I execute multiple commands using Salt Stack?
Oct 29, 2013 · EDIT: Nevermind, apparently I can't post code blocks in comments. I guess I'll leave a real answer.
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