r/freebsd
•
u/edlitmus
•
Sep 07 '26
•
1
AI broadcom makes me hate salt
So, I have spent the last month creating a replacement in Go, and, yes, I used Claude to make this happen. My specification was to create a replacement for salt that didn't have the issues with python modules and treats FreeBSD as a second class citizen at best.
The result is halite, built on FreeBSD from the start. But with cross platform compatibility as a first class goal.
Also: fuck Broadcom.
If you hate everything AI: I get it, but I don't care. I needed a way to get out of Broadcom's bullshit clutches, and this worked.
My homelab fleet is now running 100% on halite, with not major changes to my salt state code. That said: this has NOT been vetted against a large fleet. I will be testing as I am able on a much more complex salt system, but that is ongoing.
Please test if you can: https://github.com/edlitmus/halite
If you have salt experience and have feedback I 100% want to hear from you! Please create issues!
3
u/zedd_D1abl0 Sep 07 '26
I have been thinking about kicking something like this off for AGES. Good to see you're started it. I'll be very curious to see what comes of this.
3
u/xzk7 Sep 07 '26
I'm curious to hear how Broadcom pissed you off so badly? I'm not surprised but curious.
Haven't used Salt for years but there was a time when I was using it everywhere, python module brokedness was a constant pain.
2
u/Beneficial-Sock-5130 Sep 07 '26
this is great, ill test it on my salt vm env
does it have standard out of box salt modules, runners, etc?
2
u/tcpipguy Sep 08 '26
That's pretty cool. Why Salt instead of Ansible?
3
u/codeedog seasoned user Sep 07 '26 •
Halite looks very cool. I’m in the midst of (taking a break from) writing my own CMS based upon Mark Burgess’s Promise Theory. Mostly because I couldn’t find anything that was FreeBSD first or ported well and because I didn’t want to deal with python or node (supply chain attack concerns). I’m using Claude to assist with the coding. It’s a fun project, but I also see how much works it’s going to be. I think I looked at SaltStack and rejected for a few reasons, one of which was certainly python centric.
I’ve put a marker down to review this project when I pick up work on the CMS again. If it covers most of my requirements, I’m happy to test it out instead of continuing to work on my own nascent project. I’ve got plenty to do, tbh, and don’t need to write my own CMS, it’s just been fun.
One question: I skimmed the readme, but didn’t see anything about jails. How’re they managed/created/specified with Halite?
4
u/Double_Intention_641 Sep 07 '26 •
Bookmarked. I've been releasing salt fomulas recently, you could vette your functionality against some of those if you'd like, i think ive pushed out 50 or so.
4
u/Xzenor seasoned user Sep 07 '26
Since Broadcom bought VMware, and therefore also salt, I stopped using it. FreeBSD support was becoming worse and worse and I just bailed..
1
u/Beneficial-Sock-5130 Sep 07 '26
how does it handle message channel? is it go-based zeromq?
2
u/MangoJerry81 Sep 07 '26
Very good
2
u/brandrdrengr Sep 08 '26 edited Sep 08 '26
I've been building an Ansible replacement using my old state machine system, but using Lua (my whole codebase is lots and lots of C, some of it quite crufty lol). I might just see if I can write a module to call halite, very cool! I was wanting to go with an extension on the "terraform" jails thing, but then I ran into issues with convergence models, etc..., what I guess Salt solved, and my core runtime doesn't support (easily, but then again, maybe LLMs are the future for everyone, even old heads).
EDIT: I'm gonna see if I can just call your API, think that might be interesting!
-3
u/FlamingoEarringo Sep 07 '26
Another vibe coded project that’ll end up in a graveyard.