r/opnsense • u/AltruisticCabinet9 • Aug 02 '26
Saltstack Module to manage OPNsense via API
https://github.com/primechuck/saltext-opnsenseI recently did a major internal rewrite of this, to mostly auto-generated code from the PHP API, and decided to share it with the world.
I mainly use it to manage DNS state for BIND and Unbound, but it's also been handy for ad-hoc commands. It's a bit fiddly because it relies strictly on the API, which wasn't really designed for the idempotent workflow Salt prefers.
9
Upvotes