mirror of
https://github.com/ben-grande/qusal.git
synced 2024-12-25 07:29:37 -05:00
7df3be4b78
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
35 lines
782 B
Plaintext
35 lines
782 B
Plaintext
{#
|
|
SPDX-FileCopyrightText: 2023 - 2024 Benjamin Grande M. S. <ben.grande.b@gmail.com>
|
|
|
|
SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
https://www.kicksecure.com/wiki/Debian
|
|
#}
|
|
|
|
{% if grains['nodename'] != 'dom0' -%}
|
|
|
|
include:
|
|
- kicksecure-minimal.install-repo
|
|
- utils.tools.common.update
|
|
- utils.tools.zsh
|
|
|
|
"{{ slsdotpath }}-installed":
|
|
pkg.installed:
|
|
- require:
|
|
- sls: kicksecure-minimal.install-repo
|
|
- sls: utils.tools.common.update
|
|
- install_recommends: False
|
|
- skip_suggestions: True
|
|
- pkgs:
|
|
- kicksecure-qubes-cli
|
|
|
|
"{{ slsdotpath }}-remove-debian-default-sources.list":
|
|
file.comment:
|
|
- require:
|
|
- pkg: "{{ slsdotpath }}-installed"
|
|
- name: /etc/apt/sources.list
|
|
- regex: ^\s*deb
|
|
- ignore_missing: True
|
|
|
|
{% endif %}
|