TIL: #SaltStack will lazy-load modules at some point, which will be included in the execution time measured for whatever state that happens to trigger it first.
I think it took me half an hour of inspecting why a file.managed state with a remote HTTPS source would take 1.4 s even though it clearly had a "creates" prerequisite that should've stopped it from actually doing anything.
I was suspecting it of doing the download on each highstate, but no, it was just the module loading. 🙄
Are there people among you who have used both(!) #Ansible and #SaltStack personally?
I’m currently using Salt for some of my personal & freelance infrastructure, but it feels like it’s losing the popularity battle, and I think about switching to Ansible.
I usually run Salt agent-less, local-only (config repo cloned to the machine). I assume that’s possible with Ansible, too?
How declarative is Ansible these days? I want to define target states, the system should figure out how to get there.
Okay, I finally took the time to set up my own #Synapse server. Took me the better parts of two days, but that’s because I wrote the setup in #Saltstack instead of just typing commands. Also, setting up #Postgres and a resizable volume complicated it a bit further.
Now waiting for #Element’s support to provide me the data dumps, keys etc. from my #EMS instance they are currently still hosting.
If I didn’t need to import existing Synapse data, I probably would’ve gone with #Dendrite.