Hi,

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'?

Step to reproduce my test:

- Install qubes.user-dirs

`qubesctl state.apply qubes.user-dirs`

- Enable custom-qubes.top

`qubesctl top.enable custom-qubes`

- File contents

/srv/user_salt/custom-qubes.top:

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

/srv/user_salt/template-prefs.sls:

```
# -*- coding: utf-8 -*-
# vim: set syntax=yaml ts=2 sw=2 sts=2 et :

template-vm-preferences:
  qvm.prefs:
    - include_in_backups: False
    - label: black
    - maxmem: 1000
    - netvm: sys-firewall
    - vcpus: 1

```

I get the following obvious error:

fedora-32:
  ----------
            ID: template-vm-preferences
      Function: qvm.prefs
        Result: False
       Comment: State 'qvm.prefs' was not found in SLS 'template-prefs'
                Reason: 'qvm.prefs' is not available.
       Changes:


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/795a3f4f-139b-6f48-bd4d-9e8e278dec00%40torproject.org.

Reply via email to