Hi David,

David Hobach:
On 12/16/20 9:41 AM, Vasilis wrote:
When using the Salt user configuration located in '/srv/user_salt' what is the best way to use the Qubes specific pillars located (for this example) in '/srv/salt/_pillar'?

The below script should give you the idea how to do it:

[..]

Thank you very much for sharing this script.

I would prefer very much to do it in a Salt way rather than symlinking directories. It seems that this is possible in Saltstack and it's mentioned in the Management stack documentation of Qubes here:
 https://www.qubes-os.org/doc/salt/#top-files

"For each target you can write a list of state files. Each line is a path to a state file (without the .sls extension) relative to the main directory. Each / is exchanged with a ., so you can’t reference files or directories with a . in their name."

Any directions on how can I include the base PATH of the pillars '/srv/salt' to the top or sls file?


/srv/user_salt/custom-qubes.top:

```
user:
  qubes:type:template:
    - match: pillar
    - .template-prefs
```

Cheers,
~Vasilis
--
PGP Fingerprint: 8FD5 CF5F 39FC 03EB B382 7470 5FBF 70B1 D126 0162
PGP Public Key: https://keys.openpgp.org/vks/v1/by-fingerprint/8FD5CF5F39FC03EBB38274705FBF70B1D1260162

--
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/09a304fd-5127-5167-7b53-6fc6b7c957ac%40torproject.org.

Reply via email to