r/saltstack

How to exclude roster name on output?

New to salt. I’m running a command from the salt master to output a file, but the output has the roster name first, then the json. Is there a flag/argument I can add to my command to not give me that and only give me the json?

Thanks in advance.

reddit.com
u/kif_kroeker — 2 days ago

Salt curriculum I wish I'd had when I started

Started using Salt few years back and the official docs always frustrated me. They are good as reference once you know what you need, but tough as a learning path. Alphabetical, dense, you have to know
which module you need before you can search anything.

So I made Saltify Academy. 8 free articles, structured like a course.

5 courses in order:

  • Install Guide
  • Getting Started (your first state files)
  • Salt States (modules + requisites)
  • Salt on Windows
  • Salt + AI

1 advanced track: AI tooling for Salt dev (VSCode + Copilot + Claude Code). Install commands taken straight from official docs, sources cited inline.

2 references: a Cheat Sheet, and a State Modules Index that groups all 360 state modules by what they do.

Not replacing official docs, just an easier starting point if you are new to Salt.

https://saltify.work/salt-academy.html

The State Modules Index might be useful even for experienced people: https://saltify.work/salt-state-modules.html

Feedback welcome, happy to fix anything missing or wrong.

— Dusan

u/One-Rise6825 — 14 days ago