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-16 12:54:38 -04:00
|
|
|
{% if salt['cmd.shell']('command -v apt-cacher-ng-repo >/dev/null') -%}
|
2024-04-26 13:23:14 -04:00
|
|
|
"{{ slsdotpath }}-uninstall-client-repository-modifications":
|
2024-03-21 16:50:02 -04:00
|
|
|
cmd.run:
|
|
|
|
- name: apt-cacher-ng-repo uninstall
|
|
|
|
- stateful: True
|
|
|
|
- runas: root
|
2024-05-16 12:54:38 -04:00
|
|
|
{% endif -%}
|
|
|
|
|
|
|
|
"{{ 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:
|
|
|
|
- name: /usr/lib/systemd/system/qubes-apt-cacher-ng-repo.service
|