In this post, we will see how to resolve saltstack using mine.get to get value Question: Situation: I have multiple minions where I want to configure monitoring for our infrastructure. The probes and thresholds are configured in the grains of ...

In this post, we will see how to resolve Installing packages on windows minion with salt state files Question: Im trying to install the java jdk package on a windows salt-minion through a salt state file. On linux servers ive ...

In this post, we will see how to resolve ID apache-service-running in SLS apache.service.running is not a dictionary Question: I’m trying to install and configure apache using the v1.2.2 saltstack apache-formula But keep getting the following error: my master salt ...

In this post, we will see how to resolve saltstack/pacemaker: pcs module fails to create operations options Question: I am trying to create a pacemaker resource following salt.states.pcs which works fine, until i try to set e.g. the monitor interval ...

Question: I am running a powershell script to obtain a particular user’s credentials, and then use those credentials in a salt state. This works fine when the username is hardcoded directly in the powershell script. But, I am unable to ...

Question: I’m working on a project where I need to check the status of a service, let’s call it RunningService on multiple(more than 500 machines) Windows servers. We are using Saltstack extensively for our deployments. I’m able to check the ...

Question: I am having some data loaded inside of my pillar file configuration.sls which is using Jinja templating. I would like to do some additional processing on part of that data (dictionary structure) before saving as pillar. The additional processing ...

Question: I hope you can help me with a rather frustrating issue I have been having. I have been trying to remove static config from some config files and move this to Pillar/Mine data using Salt-Stack. Everything is going well, ...

Question: I’m able to use Saltstack Slot to set a value directly. What I need is to use the value inline. My goal is to use reg.present to set a key for a particular user, like: It doesn’t work, as ...

Question: Currently, I’m trying to disable and mask several network related system services using SaltStack under Ubuntu 20.04. Now, things got a bit confusing here. In the end, I need to disable several services, so I built a for loop ...