Re: [qubes-users] saltstack: detect the os within a running target/state.sls

2023-08-25 Thread 'unman' via qubes-users
On Thu, Aug 24, 2023 at 11:26:30AM +0200, lik...@gmx.de wrote: > Hi! > > Running grains['os'] in a target returns always "Fedora" and grains['id'] > returns "dom0". For this reason I cannot branch in my state files for > different os templates. > Executing this test in such a targeted

[qubes-users] saltstack: detect the os within a running target/state.sls

2023-08-24 Thread liked2
Hi! Running grains['os'] in a target returns always "Fedora" and grains['id'] returns "dom0". For this reason I cannot branch in my state files for different os templates. Executing this test in such a targeted state.sls: test-grains-for-choosing-the-right-template: