qusal/salt/sys-cacher/install-client.sls
Ben Grande 7faf944964
feat: apply URI changes in qube
Very useful for template based qubes to uninstall the cacher definition
to reach remote repository definitions with direct connection.

https://github.com/ben-grande/qusal/issues/31
2024-03-21 21:50:02 +01:00

21 lines
510 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-tool":
file.managed:
- name: /usr/bin/apt-cacher-ng-repo
- source: salt://{{ slsdotpath }}/files/client/bin/apt-cacher-ng-repo
- mode: "0755"
- group: root
- user: root
- makedirs: True
"{{ slsdotpath }}-install-client-https":
cmd.run:
- name: apt-cacher-ng-repo install
- stateful: True
- runas: root