fix: uninstall cacher client with tag in pillar

Targeting only qubes with the tag on the installation instructions is
still useful as it is faster than targeting all qubes.

Fixes: https://github.com/ben-grande/qusal/issues/41
This commit is contained in:
Ben Grande 2024-06-13 13:28:24 +02:00
parent fe996b3a35
commit 13c57939a7
No known key found for this signature in database
GPG Key ID: 00C64E14F51F9E56
4 changed files with 7 additions and 5 deletions

View File

@ -42,6 +42,7 @@ repos:
entry: gitlint
args: [--staged, --msg-filename]
stages: [commit-msg]
pass_filenames: true
description: Lint Git commits
- id: qubesbuilder

View File

@ -8,5 +8,6 @@ base:
'dom0':
- match: nodegroup
- sys-cacher.remove-policy
'*':
'qubes:tags:updatevm-sys-cacher':
- match: pillar
- sys-cacher.uninstall-client

View File

@ -5,6 +5,6 @@ SPDX-License-Identifier: AGPL-3.0-or-later
#}
base:
'I@qubes:type:template and ( ( G@os_family:Debian and not P@nodename:host and not P@nodename:whonix.* ) or G@os_family:RedHat or G@os_family:Arch )':
- match: compound
'qubes:tags:updatevm-sys-cacher':
- match: pillar
- sys-cacher.install-client

View File

@ -5,6 +5,6 @@ SPDX-License-Identifier: AGPL-3.0-or-later
#}
base:
'I@qubes:type:template and ( ( G@os_family:Debian and not P@nodename:host and not P@nodename:whonix.* ) or G@os_family:RedHat or G@os_family:Arch )':
- match: compound
'qubes:tags:updatevm-sys-cacher':
- match: pillar
- sys-cacher.uninstall-client