mirror of
https://github.com/ben-grande/qusal.git
synced 2024-12-24 06:59:26 -05:00
fix: install caching client before common update
Cacher client installation state included in the common update state as all qubes that updates with Qusal states use it, rather than including it on all the installation states. The macro utils.macros.install-repo still also run's apt-cacher-ng-repo in case the user is not updating at that moment, just adding a new repository without restarting the qube (systemd service has already ran). Fixes: https://github.com/ben-grande/qusal/issues/66
This commit is contained in:
parent
312b871bd7
commit
7df3be4b78
@ -11,7 +11,6 @@ https://www.kicksecure.com/wiki/Debian
|
|||||||
include:
|
include:
|
||||||
- kicksecure-minimal.install-repo
|
- kicksecure-minimal.install-repo
|
||||||
- utils.tools.common.update
|
- utils.tools.common.update
|
||||||
- sys-cacher.install-client
|
|
||||||
- utils.tools.zsh
|
- utils.tools.zsh
|
||||||
|
|
||||||
"{{ slsdotpath }}-installed":
|
"{{ slsdotpath }}-installed":
|
||||||
|
@ -4,6 +4,12 @@ SPDX-FileCopyrightText: 2024 Benjamin Grande M. S. <ben.grande.b@gmail.com>
|
|||||||
SPDX-License-Identifier: AGPL-3.0-or-later
|
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
#}
|
#}
|
||||||
|
|
||||||
|
{% if salt['cmd.retcode']('command -v apt-cacher-ng-repo >/dev/null') == 0 -%}
|
||||||
|
"common-update-run-apt-cacher-ng-repo":
|
||||||
|
cmd.run:
|
||||||
|
- name: apt-cacher-ng-repo
|
||||||
|
{% endif -%}
|
||||||
|
|
||||||
"common-updated":
|
"common-updated":
|
||||||
pkg.uptodate:
|
pkg.uptodate:
|
||||||
- refresh: True
|
- refresh: True
|
||||||
|
Loading…
Reference in New Issue
Block a user