mirror of
https://github.com/ben-grande/qusal.git
synced 2024-12-25 07:29:37 -05:00
bb4dcbbe8f
- Enforce uninstall in Fedora, it has been too problematic due to zchunk checksum mismatch errors; - Skip tagging and installing on unsupported qubes, before it tagged every template that did not have the tag 'whonix-updatevm', this is error prone as it would fail the installation on unsupported clients such as Gentoo, Mirage. Fixes: https://github.com/ben-grande/qusal/issues/54
31 lines
815 B
Plaintext
31 lines
815 B
Plaintext
{#
|
|
SPDX-FileCopyrightText: 2023 - 2024 Benjamin Grande M. S. <ben.grande.b@gmail.com>
|
|
|
|
SPDX-License-Identifier: AGPL-3.0-or-later
|
|
#}
|
|
|
|
"{{ slsdotpath }}-install-client-scripts":
|
|
file.recurse:
|
|
- name: /usr/bin/
|
|
- source: salt://{{ slsdotpath }}/files/client/bin/
|
|
- file_mode: "0755"
|
|
- group: root
|
|
- user: root
|
|
- makedirs: True
|
|
|
|
"{{ slsdotpath }}-uninstall-client-repository-modifications":
|
|
cmd.run:
|
|
- require:
|
|
- file: "{{ slsdotpath }}-install-client-scripts"
|
|
- name: apt-cacher-ng-repo uninstall
|
|
- stateful: True
|
|
- runas: root
|
|
|
|
"{{ slsdotpath }}-uninstall-client-scripts":
|
|
file.absent:
|
|
- name: /usr/bin/apt-cacher-ng-repo
|
|
|
|
"{{ slsdotpath }}-uninstall-client-systemd-service":
|
|
file.absent:
|
|
- name: /usr/lib/systemd/system/qubes-apt-cacher-ng-repo.service
|