r/saltstack • • Feb 09 '23

Pinch - a new formula framework

17 Upvotes

My company has been using our own Salt formula framework for a while, and we've decided to share it with the community.

https://medium.com/paragon-tech/just-a-pinch-of-salt-ecf8e540be17

I hope some of you find this useful, and please let us know how we can improve it.


r/saltstack • • May 03 '19

SaltStack favorites for Maythe4th

Post image
17 Upvotes

r/saltstack • • Aug 03 '17

Salt 101 - Intro to Salt, Yaml, and Jinja

Thumbnail
github.com
17 Upvotes

r/saltstack • • Mar 02 '16

Saltstack Enterprise UI pictures available online?

17 Upvotes

Tried googling and can't find any. Any of you guys use it and can provide some screenshots?


r/saltstack • • Feb 24 '14

Salt 2014.1.0 Officially Released (Release Notes)

Thumbnail
docs.saltstack.com
17 Upvotes

r/saltstack • • Sep 07 '26

broadcom makes me hate salt

Thumbnail
reddit.com
16 Upvotes

r/saltstack • • Apr 02 '25

Salt Project Blog Post - A Letter from David Murphy: Retiring from Tech

Thumbnail saltproject.io
16 Upvotes

r/saltstack • • Aug 12 '22

🔥 Hot take: Managing Multi-Cloud environments doesn't have to be complex

Post image
16 Upvotes

r/saltstack • • Jul 27 '21

Docker Compose Based Saltstack Development Environment

Thumbnail
github.com
16 Upvotes

r/saltstack • • Nov 26 '19

Windows patching using Salt

16 Upvotes

Hi all,

Over the course of the last year my team and I have migrated from a mix of SCCM/SSH scripts to manage our Windows/Linux env. to a full SaltStack implementation.

Question for everyone, how are you deploying your WSUS monthly patches ? What is your monthly/bimonthly cycle and do you still leverage WSUS to deploy or are you managing it all using salt ? Myself, I'm doing the following:

- Two separate WSUS groups (Deadline and no Deadline)

NON-Critical

  • I enforce patches for non critical using WSUS by setting a deadline.

Critical

  • I approve the patches and allow them to download.

  • I configured a NodeGroup to define the server's that need to be targeted.

  • I then use win_wua.list with install=true to trigger the install

salt -N {nodegroup} win_wua.list install=True
  • I then verify which server's need a reboot

salt -N {nodegroup} win_wua.get_needs_reboot
  • Finally reboot the systems that require a reboot

salt -N {nodegroup} cmd.run 'powershell restart-computer -force'
  • One last sanity check to verify no other pending updates.

salt -N {nodegroup} win_wua.get_needs_reboot

For the most part it works but I still find myself having to log into some of the server's manually to trigger the install. Either the minion doesn't trigger the install and/or I don't get a response when verifying if the server's require a reboot.

If anyone cares to share how they approach patching critical server's I'm all ears!


r/saltstack • • Sep 28 '15

Generating, and securely saving, random root passwords with salt.

Thumbnail
clinta.github.io
16 Upvotes

r/saltstack • • Apr 25 '15

SaltConf15 - Matthew Prince, CloudFlare CEO - Stories From the Nasty Edge of the Net

Thumbnail
youtube.com
16 Upvotes

r/saltstack • • Jun 20 '13

Introducing Salmon: Server monitoring and alerting with Salt (and friends)

Thumbnail
lincolnloop.com
16 Upvotes

r/saltstack • • Sep 03 '21

Salt Security Advisory Release (3003.3, 3002.7, 3001.8)

Thumbnail saltproject.io
15 Upvotes

r/saltstack • • Aug 26 '21

secure pillar tool

15 Upvotes

So I wrote a tool a while back to manage the secure pillar files at my company and they were cool enough to let me open source it. I suck at self promotion so it just occurred to me that maybe folks here could use it.

https://github.com/Everbridge/generate-secure-pillar

There are a couple of wiki pages with examples and whatnot. I hope some folks find it useful.


r/saltstack • • Feb 05 '21

Running salt over wireguard.

15 Upvotes

Hello all, previously I was asked to share my configuration for running salt minions and master entirely over wireguard. I've provided a stripped down archive here, which includes all the stripped down states, templates (formulas), data (pillar) of the environment as it existed about a year ago. Note: I've moved to managing this data using machine roles in pillar; however this example should get anyone interested on the right path.

Overview & Concept

A wireguard private network is setup on 172.31.255.0/24, which has no routes setup, nor is it Internet routable. No normal system traffic should ever default to this network unless explicitly done. This is a point-to-point network between the salt-minion and salt-master (you can setup a broader subnet, but in this case P2P was explicitly choosen to isolate minions from each other); and is encrypted by default at the network layer. This also enables global roaming. If you have an Internet connection somewhere in the world, you can communicate with the salt-master without exposing salt-master ports directly to the Internet.

The salt-master listens only on ports 4505-4506 on 172.31.255.254 for salt connections. Only connections to these ports are allowed, everything else is dropped. Minions cannot see or contact each other. Saltstack also adds an additional encrypted and authentication/authorization layer on top of the wireguard network.

The salt-minion bootstrap contacts the salt-master and downloads states which tell the minion how to configure the system & wireguard; and reports back to the master when complete. Remote commands issued from the salt-master may also be run. After the initial configuration run, salt may be used as normal, with the client connected anywhere in the world.

A file located in /etc/salt/preferences.yaml contains client defined preferences for specific states to enable or disable; allowing for specific client-controlled managed states. I've included this in the stripped down archive as well, though it isn't used in this setup.

Installers

I use make to create idempotent & hermetic installer builds using the current configuration information with the repository. This Makefile is stripped down to this example, but also generates sphinx documentation as well as prod releases.

make bootstrap will build installers and place them in dev/template/salt. These installers are then transferred to potential minions, decompressed and executed for initial minion setup and configuration.

The installers will ensure kernels are at the correct version, cryptographically verify the supplied salt-config and install a salt-client wireguard tunnel. The salt-minion will also be installed and configured to use this bootstrap wireguard tunnel as well as enough salt-minion configuration information to connect to the salt-master and verify the master's fingerprint. Upon reboot the salt-minion will connect to the salt-master via wireguard. Updates to both of these services are managed by salt, and included in the stripped down archive. Custom grains are installed to report the current version of wireguard.

salt-master states apply UFW firewall rules to only accept salt connections over wireguard on ports 4505:4506

Managing Keys

Use dev/template/wireguard/wggen to generate public/private keypairs for wireguard, which are placed in wireguard and pillar respectively. These must be deployed in your salt environment before accepting any potential new salt-minions over wireguard.

Minions are associated by minion ID which is the only minion attribute that can be cryptographically verified for the minion. These are parsed for the hostname, and specific minion wireguard private data is returned. Per-file configuration is located in dev/data/role/wireguard/client/{ID}.sls

A salt-master can run a salt-minion over wireguard on the same machine (e.g. the master can manage itself over wireguard).


r/saltstack • • Jun 07 '20

Dockerized salt-master 3001rc1

15 Upvotes

I have dockerized SaltStack Sodium 3001 RC1 into my custom Docker image.

You can test it before the official release on June 17th.

docker pull cdalvaro/saltstack-master:3001rc1

More info about my image at: https://github.com/cdalvaro/saltstack-master


r/saltstack • • Jun 02 '20

saltstack frontends

15 Upvotes

We're an MSP and we use Salt to manage our endpoints, servers, well pretty much everything. Right now, only a few of us know how to use Salt and I'd like to get my level 1 techs familiar with Salt without giving them direct command line access. What are some good frontends for Salt these days?


r/saltstack • • Sep 14 '19

Saltcheck article/tutorial

15 Upvotes

The saltcheck module can be used to validate the state of hosts, clusters, deployments, S3 data, http endpoints, or anything else that a salt module can interact with. Need a QA or tech support group to be able to validate a deployment or user environment? Try saltcheck! Want to validate salt runs in a CI pipeline? How about saltcheck? Need a simple test file syntax similar to salt states which can use the same map.jinja files or data from pillars? You're best option may well be saltcheck!

Here's a short article describing some of the use cases and features, and how the new release with Neon will make it even more full featured:

https://www.linkedin.com/pulse/validation-saltstacks-saltcheck-christian-mchugh


r/saltstack • • May 28 '17

Moving Beyond Infrastructure as Code - Keynote by Thomas Hatch at openSUSE Conference 2017

Thumbnail
youtube.com
15 Upvotes

r/saltstack • • Sep 29 '16

SUSE and SaltStack increase collaboration on upstream development of Salt

Thumbnail
suse.com
15 Upvotes

r/saltstack • • Jun 28 '13

Salt 0.16 Released

Thumbnail
docs.saltstack.com
15 Upvotes

r/saltstack • • Sep 30 '26

new releases. 3008.3, 3006.28, and capstone release 3007.15.

14 Upvotes

r/saltstack • • Jul 16 '26

SaltStack Certified Engineer Verification

14 Upvotes

I'm hoping someone from the old SaltStack team, VMware, or Broadcom might know the answer.

I earned the SaltStack Certified Engineer (SSCE) certification several years ago. Since SaltStack was acquired by VMware and then VMware was acquired by Broadcom, the original SaltStack website and certification verification page are no longer available.

I'm interviewing with a potential employer, and they're trying to verify my SSCE certification. Does anyone know if there's still a way to verify it? Is there a new verification site, or is there someone at Broadcom who can help?


r/saltstack • • Sep 20 '25

Dockerized salt-master 3007.8 & 3006.16

Thumbnail
github.com
14 Upvotes

🐳🧂 New Salt Releases: 3007.8 and 3006.16 are out! 🎉

Easily test and manage your Salt setups in a clean Docker container.

🔧 Includes Salt API, production-ready config & more. 📚 Docs & usage examples. 💬 Feedback and PRs are welcome!

Built for the community. Maintained with ❤️ by @cdalvaro