2023-11-13 14:33:28 +00:00
|
|
|
{#
|
2024-04-25 11:25:42 +02:00
|
|
|
SPDX-FileCopyrightText: 2023 - 2024 Benjamin Grande M. S. <ben.grande.b@gmail.com>
|
2023-11-13 14:33:28 +00:00
|
|
|
|
|
|
|
SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
#}
|
|
|
|
|
2024-05-29 16:16:03 +02:00
|
|
|
"{{ slsdotpath }}-install-client-scripts":
|
|
|
|
file.recurse:
|
|
|
|
- name: /usr/bin/
|
|
|
|
- source: salt://{{ slsdotpath }}/files/client/bin/
|
|
|
|
- file_mode: "0755"
|
|
|
|
- group: root
|
|
|
|
- user: root
|
|
|
|
- makedirs: True
|
|
|
|
|
2024-04-26 19:23:14 +02:00
|
|
|
"{{ slsdotpath }}-uninstall-client-repository-modifications":
|
2024-03-21 21:50:02 +01:00
|
|
|
cmd.run:
|
2024-05-29 16:16:03 +02:00
|
|
|
- require:
|
|
|
|
- file: "{{ slsdotpath }}-install-client-scripts"
|
2024-03-21 21:50:02 +01:00
|
|
|
- name: apt-cacher-ng-repo uninstall
|
|
|
|
- stateful: True
|
|
|
|
- runas: root
|
2024-05-16 18:54:38 +02:00
|
|
|
|
|
|
|
"{{ slsdotpath }}-uninstall-client-scripts":
|
|
|
|
file.absent:
|
|
|
|
- name: /usr/bin/apt-cacher-ng-repo
|
2024-04-26 19:23:14 +02:00
|
|
|
|
|
|
|
"{{ slsdotpath }}-uninstall-client-systemd-service":
|
|
|
|
file.absent:
|
|
|
|
- name: /usr/lib/systemd/system/qubes-apt-cacher-ng-repo.service
|