-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

I think the pillar files need to be in /srv/pillar/
The following example should work:

/srv/pillar/fedora-version.top
base:
  dom0:
    - fedora-version

/srv/pillar/fedora-version.sls
version: 31

Then the file needs to be linked to another directory:
ln -s /srv/pillar/fedora-version.top /srv/pillar/_tops/base/fedora-version.top

This can be tested with the following command:
sudo qubesctl pillar.get version
And can be used in salt files as you have used it
-----BEGIN PGP SIGNATURE-----

iIgEARMKADAWIQRFNnsoPo7HH0XEMXc88cBGMbAIWAUCXsMAEhIccHJhZ29AdHV0
YW5vdGEuZGUACgkQPPHARjGwCFjP2AD/bV5z2DEkRvGtHEbv32MbRAAPN1uZDvfR
MR9DzIPEKnUA/2Zfz12HtzdtA/pIEAZoDceKrNLp7iua2Lk8HyStuyUw
=eySN
-----END PGP SIGNATURE-----

-- 
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 qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/M7djpTm--3-2%40tuta.io.

Reply via email to