> On 03.05.2022 11:32 Frédéric Pierret wrote:
>
>
> Hello,
>
> Just writing what I'm thinking (not Salt expert at all!), you are probably
> missing default value in the .get(): .get('kernelrelease', SOMETHING_DEFAULT)
>
> Le 5/3/22 à 11:01, 'Johannes Graumann' via qubes-users a écrit :
>
Hello,
Just writing what I'm thinking (not Salt expert at all!), you are probably
missing default value in the .get(): .get('kernelrelease', SOMETHING_DEFAULT)
Le 5/3/22 à 11:01, 'Johannes Graumann' via qubes-users a écrit :
I have the following `*.sls` in my `salt`setup:
{% if
I have the following `*.sls` in my `salt`setup:
{% if salt['pkg.version_cmp'](salt['grains'].get('kernelrealease'),
'5.12') < 0 %}
move broken AX260 wifi blob out of the way:
file.rename:
- name: /usr/lib/firmware/iwlwifi-ty-a0-gf-ao.pnvm.xz.bak
- source: