Top "Salt-stack" questions

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

How to run state.highstate for a particular environment?

My environments structure in /etc/salt/master looks like this file_roots: base: - /srv/salt dev: - /srv/salt/…

salt-stack
Set environment variable using saltstack

I am writing some salt stack formulas which will install tomcat package. but after installation I have to set JAVA_…

python tomcat salt-stack
Should I always use pillar.get instead of pillar['foo']?

I see in the pillar documentation that there are two ways to reference pillar data in an SLS. {{ pillar['foo'] }} …

salt-stack
Setting Up Environments with SaltStack

How do I make minions use a particular SaltStack environment? The GitFS backend tutorial states that branches will be mapped …

git salt-stack
How to raise an exception in a Jinja2 macro?

I have a macro that is used to build a local repository using debmirror. Here's the snippet of code: {%- …

python jinja2 salt-stack
Is there a way to log a debug message in saltstack out of an .sls or a .jnija file?

Is there a way to log a custom debug message in saltstack out of an .sls or a .jnija file? …

salt-stack
Why is this commit that sets the RSA public exponent to 1 problematic?

I saw this commit in SaltStack on Hacker News, but I don't understand exactly what it does or why the …

security cryptography salt-stack
Using file.managed for downloading a file in Salt

salt.states.file.managed takes source_hash as an argument to verify a downloaded file. This blocks me from using …

web-services hash md5 salt-stack
How to seamlessly rename a minion?

I am considering to move to salt (currently using ansible) to manage a set of standalone IoT devices (Raspberry Pi …

salt-stack
SaltStack - How to use a dictionary in pillar and loop through those values in template file?

I'm trying to make our configuration a little more modular. Currently, we have mostly hardcoded template files per environment that …

python salt-stack configuration-management