2023-11-13 09:33:28 -05:00
|
|
|
{#
|
2024-04-25 05:25:42 -04:00
|
|
|
SPDX-FileCopyrightText: 2023 - 2024 Benjamin Grande M. S. <ben.grande.b@gmail.com>
|
2023-11-13 09:33:28 -05:00
|
|
|
|
|
|
|
SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
#}
|
|
|
|
|
2024-05-29 10:16:03 -04: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 13:23:14 -04:00
|
|
|
"{{ slsdotpath }}-uninstall-client-repository-modifications":
|
2024-03-21 16:50:02 -04:00
|
|
|
cmd.run:
|
2024-05-29 10:16:03 -04:00
|
|
|
- require:
|
|
|
|
- file: "{{ slsdotpath }}-install-client-scripts"
|
2024-03-21 16:50:02 -04:00
|
|
|
- name: apt-cacher-ng-repo uninstall
|
|
|
|
- stateful: True
|
|
|
|
- runas: root
|
2024-05-16 12:54:38 -04:00
|
|
|
|
|
|
|
"{{ slsdotpath }}-uninstall-client-scripts":
|
|
|
|
file.absent:
|
|
|
|
- name: /usr/bin/apt-cacher-ng-repo
|
2024-04-26 13:23:14 -04:00
|
|
|
|
|
|
|
"{{ slsdotpath }}-uninstall-client-systemd-service":
|
|
|
|
file.absent:
|
2024-06-25 16:16:26 -04:00
|
|
|
- name: /usr/lib/systemd/system/qusal-apt-cacher-ng-repo.service
|