qusal/salt/qubes-builder/install-qubes-executor.sls
Ben Grande 7a70535553
fix: Fedora 40 only has wget2
The wget package can be downloaded from the command-line, but as Salt
does not follow DNF package redirects, the package is installed but the
state fails as Salt cannot find a package with the same name installed.
2024-06-13 14:01:35 +02:00

48 lines
979 B
Plaintext

{#
SPDX-FileCopyrightText: 2023 - 2024 Benjamin Grande M. S. <ben.grande.b@gmail.com>
SPDX-License-Identifier: AGPL-3.0-or-later
#}
{% if grains['nodename'] != 'dom0' -%}
include:
- utils.tools.common.update
"{{ slsdotpath }}-installed-qubes-executor":
pkg.installed:
- require:
- sls: utils.tools.common.update
- install_recommends: False
- skip_suggestions: True
- pkgs:
- qubes-core-agent-networking
- qubes-core-agent-passwordless-root
- dnf-plugins-core
- createrepo_c
- debootstrap
- devscripts
- dpkg-dev
- git
- mock
- pbuilder
- which
- perl-Digest-MD5
- perl-Digest-SHA
- python3-pyyaml
- python3-sh
- rpm-build
- rpmdevtools
- wget2
- python3-debian
- reprepro
- systemd-udev
"{{ slsdotpath }}-qubes-executor-add-user-to-mock-group":
group.present:
- name: mock
- addusers:
- user
{% endif -%}