qusal/salt/opentofu/install.sls

32 lines
635 B
Plaintext
Raw Normal View History

2024-02-19 15:08:20 -05:00
{#
SPDX-FileCopyrightText: 2023 Benjamin Grande M. S. <ben.grande.b@gmail.com>
SPDX-License-Identifier: AGPL-3.0-or-later
#}
{% if grains['nodename'] != 'dom0' -%}
include:
- sys-ssh-agent.install-client
{% from 'utils/macros/install-repo.sls' import install_repo -%}
{{ install_repo(sls_path, 'opentofu') }}
"{{ slsdotpath }}-updated":
pkg.uptodate:
- refresh: True
"{{ slsdotpath }}-installed":
pkg.installed:
- refresh: True
- install_recommends: False
- skip_suggestions: True
- pkgs:
- qubes-core-agent-networking
- ca-certificates
- tofu
- vim
- man-db
{% endif -%}