r/saltstack • u/PkHolm • Jan 05 '25
r/saltstack • u/lamiska • May 03 '20
Recent salt vulnerabilities already used to hack and install bitcoin miners
r/saltstack • u/alcali_dev • Oct 07 '19
Alcali: a web based tool for monitoring and administrating Salt.
Hi,
We made a web GUI for Salt and would love some feedback.
The main features are:
Get notified in real time when a job is created, updated or has returned.
Store your jobs results by leveraging the master_job_store
setting with database master returner.Check your minions conformity to their highstate or any state.
Here is a link to the repository, the docs, some screenshots and the formula to install it.
Cheers!
r/saltstack • u/nobullvegan • Apr 24 '20
Salt Master Vulnerability Discovered
SaltStack have announced that there's a vulnerability in salt-master.
https://github.com/saltstack/community/blob/master/doc/Community-Message.pdf
Considering what else they're recommending, I presume this is exploitable before minions are authenticated, but that's purely speculation on my part.
TLDR: Critical vulnerability in Salt master. They're suggesting preventing network access from unauthorised users and then patching as soon as possible. Fix available on the 29th (Wednesday).
EDIT 29/04/20: Fix released: https://www.reddit.com/r/saltstack/comments/gahkc5/saltstack_30002_released_security_fix/
r/saltstack • u/edmos__ • Jun 30 '22
How we use and Secure SaltStack
Hey everyone!
I've been using SaltStack for a couple of years & ended up creating a blog article about how we secured it using zero trust & would love feedback!
https://netfoundry.io/saltstack-meets-openziti
Thanks!
r/saltstack • u/Striking-Employ5218 • Jul 20 '25
Is Salt worth learning in 2025?
Hi all, I am in an educational project where I want to go from writing bash scripts to installing packages on more than 10 servers(so far). I started trying Ansible but I don't know why but I didn't like it, then I wanted to find a much more robust tool and I found Salt today. At the moment I need something that will update operating systems automatically, apply security rules, install packages, etc.
Is it worth to start with Salt nowadays, reading the reddit a lot of people who are just starting like me are complaining too much about the current state because of the purchase of Broadcom.
I am just starting in the devops world, and plan to start with local servers, learn Terraform/OpenTofu to create VMs and then automate tasks. Then I'll start with Kubernetes and Docker/Podman as needed, but I'm learning.
Leave your suggestions or comments if you can. Thank you very much.
Translated with DeepL.com (free version)
r/saltstack • u/lowercase00 • Mar 20 '22
My Frustrations with Salt NSFW
Full disclosure: I'm a total beginner, not sys admin experience, so please, take this only as a beginner's view on things, that may, obviously, be totally wrong. I just wanted to vent. This is my own personal experience for the last two years.
I've been playing around with automation tools for a while, for a few reasons. I was looking for ways to automate a lot of the boring stuff I do normally: provisioning, configuring, installing, monitoring etc etc.
First frustration: Not top of mind at all
After a quite a few blog posts, exploring GitHub repos etc, I basically found three main solutions: Ansible, Puppet and Chef. So yeah, Salt of not on the list for most the resources / articles / blogs / tutotials I've seen. Yeah, there was a mention or to, but by far, was not top of mind. So I ended up chosing Ansible between those three, and I have had a pretty good experience with it, extremely easy to set up, fairly powerful, and solves quite a few problems. There's one problem with Ansible, that it's just unforgivable for me, that it is its lack of integration to do things programatically and it's terribly slow. I mean... really? The whole thing is written in Python and you don't have access to the API. To make things worse they openly state in the documentation that the internal API is usable but unstable (and indeed changed a lot quite a few times). So, let's keep on searching.
Second frustration: Why such difficult terminology?
After quite a while (I would say something like 6 months of on/off searching), I ended up finding Salt. Oh man, it looked perfect: amazing Python integration, extremely fast execution, mature project, big community, looking just perfect. And then, you start reading the docs, and all of the sudden, you have to learn a whole new dictionary of words that mostly don't make direct sense, or are less than obvious (grain, pillar, highstate, lowstate, roster etc etc). I mean... why don't just call it "facts" or "secrets"? Huge learning curve only for the dictionary.
Third frustration: Docs bring the worse of Salt
(This is changing apparently with the new version, but I'll refer to the old). This really reminds me of Celery which I've used quite a lot. Celery is actually very very well written, really solid, reliable, and not the complex to do basic things. But the docs just bring the worse of it, approaches edge cases in the "quickstart", mention really advanced usage patterns on the second page and stuff like that. I am, of course, exagerating, but you get the idea.
Fourth Frustration: Old old old activity
So here I go try my first steps, and I'll start with the repo with examples and all. "Last commit March 23rd, 2012". "Question asked Nov/2014". "Last updated May/2016" It can be argued that this is the result of a solid software with backwards compatibility, can also be argued that it is dying and was something of 7-8 years ago.
Fifth Frustration: Implicit, Too Flexible, Lack of Pattern
And so here I go try to write my first state... and I see something like
# this is a package name...
vim:
pkg.installed: []And I'm like "okay, so the package name I want to be installed is the first line, and then the state I want it to be in. A bit weird, I was expecting something like Ansible's task name, but okay". And then I continue, and in the very same example I see something like
/etc/salt/minion: # this is a path...
file.managed:
- source: salt://salt/minion
- user: rootAnd now I'm like: "Hmm.. so the top level info... is it the package name? Or an arbitrary task name? Or perhaps the path to where the action/state is on? Okay, but if it's an arbitrary ID/name, how does the "vim" example know which package I want installed?" This is most definitely confusing for me, implicit logic, no pattern, and pretty much far from what I've learned with the Zen of Python. I follow to ask a question on the Slack community: what is the "right" way of writing things? I then find that my simple easy, trivial question turns into a huge discussion in the community. I honestly blame this on how powerful and flexible Salt is... it actually shouldn’t, or maybe at least be explicit about it.
# This is **extremely* obvious!
- state: My State Name
pkg.installed:
- vimOh no you say, but now it's just like Ansible! Well... this is definitely something Ansible nailed (User/Dev Experience), and one of the main reason, in my mind Ansible has skyrocketed and Salt "only" grew a lot (I'm using Github starts history as a proxy).
Or maybe something like: “yeah but you can write your own renderer and make it the way you want it”, yeah.. again, in my mind it should be obvious, it is not.
There's most definitely a trade-off between flexibility/feature-rich software and simplicity/ease to use. But normally there's a nice middle ground, with established patterns, I really don’t find this to be the case. There's probably lots of great ideas to get from Kubernetes manifests on this aspect.
Sixth Frustration: Plain Ugly
So I advance, follow the advice of using Jinja, and I come around with this[postgres-formula/manage.sls at master · saltstack-formulas/postgres-formula · GitHub]:
{%- from tpldir + "/map.jinja" import postgres with context -%}
{%- from tpldir + "/macros.jinja" import format_state with context -%}
{%- if salt['postgres.user_create']|default(none) is not callable %}
# Salt states for managing PostgreSQL is not available,
# need to provision client binaries first
include:
- postgres.client
{%- if 'server_bins' in postgres and grains['saltversion'] == '2016.11.0' %}
- postgres.server
{%- endif %}
{%- endif %}Okay, I get it, this is Jinja, nothing new here, but again, this is really ugly, not elegant at all, not easy on the eyes at all. Again, Ansible wins here, building just a few magic keywords for the yaml parser to interpret already reduces your Jinja code by 90%.
Final Arguments
I only write this, because I really wished Salt was the most well known, talked about software in the business, unfortunately it is not. I honestly think that this has nothing to do with the capabilities, but it has everything to do with the developer experience.
I followed a few videos, after the VM deal I guess this was a plan, but I honestly think there’s a bigger problem here, that unfortunately I don’t think will be solved with videos (at the time the view count was awfully low, specially when compared to basically any other Ansible or so video).
The good part, is that I truly think it would be extremely easy to solve: improve dev experience, make salt easier, simpler, explicit, more elegant. The only reason I’m writing this, is because I truly wanted Salt to be bigger, honestly. So please, take this as a constructive feedback (It truly is), and not as me just trashing the software (I’m most definitely not!).
Cheers guys
r/saltstack • u/max_arnold • Feb 27 '19
The coolest features in Salt 2019.2 Fluorine
r/saltstack • u/vexaph0d • Nov 24 '22
I made a web interface for managing my ragtag bunch of random servers and instances using Salt
r/saltstack • u/Relheub • Mar 14 '19
Started a YouTube channel for Salt tutorials
Been using SaltStack for about a year and I love it all around. However, I have felt the documentation is sometimes lacking, and especially when you're a total noob, it can be tough to get going. I'm looking to create some pretty basic, but clear examples of how to do things in Salt. My first video is simply installing and setting up connectivity between a master and minion.
Interested to hear what you guys think of learning Salt through video compared to say, a blog format (not that I'm the first to make Salt videos or anything). Let me know if you have any feedback, positive or negative, and if you'd like to see anything in particular in Salt.
Link:
r/saltstack • u/sssplattt • Aug 03 '17
Salt 201 - Intro to Formulas and Unit Tests
r/saltstack • u/max_arnold • Apr 01 '21
What's New in Salt 3003 Aluminium Release
r/saltstack • u/Electronic-Tea9842 • Feb 05 '21
Is Saltstack dead after VMware acquisition?
Just curious if anyone else feels the writing on the wall about future saltstack development now that it is part of the VMware conglomeration?
new pricing model -- pay more upfront now.. we promise it will pay off eventually
high amount of recent bug patching
Very little detail of the future of the environment
r/saltstack • u/whytewolf01 • Jan 17 '25
New blog post about the open hour that just happened.
https://saltproject.io/blog/2025-01-16-open-hour/
so i know a lot of people were wondering what is going on. the open hours are still happening. and i welcome you to participate if you have concerns.
addressing the concerns going around recently was the topic of this one. along with a Q&A session.
r/saltstack • u/joshiegy • Nov 18 '24
Why are so many posts about leaving SaltStack?
Heya!
So, I don't really like Ansible. Or chef, or puppet. But I do like Saltstack.
Now the big question, why are so many giving up on Saltstack after the latest aquisition?
Ansible is owned by IBM, kind of. IBM have ruined ansible according to me. SaltStack was bought by VmWare and to me made it better, and now Broadcom bought VmWare, so by proxy bought SaltStack - right?
Did Boradcom screw up Saltstack?
r/saltstack • u/icantevenplop • Mar 20 '25
Salt Project Announcement - Salt 3006.10 LTS is available
saltproject.ior/saltstack • u/nobullvegan • Apr 29 '20
SaltStack 3000.2 Released (Security Fix)
Tarball available: https://github.com/saltstack/salt/releases/tag/v3000.2
Not seen deb packages yet.
Vulnerabilities:
CVE-2020-11651An issue was discovered in SaltStack Salt before 2019.2.4 and 3000 before 3000.2. The salt-master process ClearFuncs class does not properly validate method calls. This allows a remote user to access some methods without authentication. These methods can be used to retrieve user tokens from the salt master and/or run arbitrary commands on salt minions.
CVE-2020-11652An issue was discovered in SaltStack Salt before 2019.2.4 and 3000 before 3000.2. The salt-master process ClearFuncs class allows access to some methods that improperly sanitize paths. These methods allow arbitrary directory access to authenticated users.
r/saltstack • u/nobullvegan • Jan 22 '21
New Year, New Critical Vulnerability in SaltStack
saltstack.comr/saltstack • u/icantevenplop • May 15 '25
Salt Project Announcement - Salt 3007.2 STS is available
saltproject.ior/saltstack • u/TheSov • Jun 03 '22
just started with salt, holy crap im amazed!
i just started working with salt a bit ago, and now that i have the swing of it, holy moly powerful as all heck. i was able to build formulas for our DNS servers and webservers in one day and deploy as many as I want.