qusal/salt/opentofu
Ben Grande f9ead06408 fix: remove extraneous package repository updates
Updates happens multiple times, normally 2 to 3, even if we consider a
state without includes. On states with multiple includes, it could
easily get approximately 10 updates being ran. This behavior leads to
unnecessary network bandwidth being spent and more time to run the
installation state. When the connection is slow and not using the
cacher, such as torified connections on Whonix, the installation can
occurs much faster.

Adding external repositories has to be done prior to update to ensure it
is also fetched.

Fixes: https://github.com/ben-grande/qusal/issues/29
2024-03-18 17:51:36 +01:00
..
files/repo feat: add OpenTofu 2024-02-19 23:36:54 +01:00
clone.sls feat: add OpenTofu 2024-02-19 23:36:54 +01:00
clone.top feat: add OpenTofu 2024-02-19 23:36:54 +01:00
create.sls feat: add OpenTofu 2024-02-19 23:36:54 +01:00
create.top feat: add OpenTofu 2024-02-19 23:36:54 +01:00
init.top feat: add OpenTofu 2024-02-19 23:36:54 +01:00
install-repo.sls fix: remove extraneous package repository updates 2024-03-18 17:51:36 +01:00
install-repo.top fix: remove extraneous package repository updates 2024-03-18 17:51:36 +01:00
install.sls fix: remove extraneous package repository updates 2024-03-18 17:51:36 +01:00
install.top feat: add OpenTofu 2024-02-19 23:36:54 +01:00
README.md doc: prefix qubesctl with sudo 2024-02-23 16:55:11 +01:00

opentofu

OpenTofu installation in Qubes OS.

Table of Contents

Description

Installs OpenTofu and use it on the "opentofu" app qube. An open-source fork of Terraform.

Installation

  • Top:
sudo qubesctl top.enable opentofu
sudo qubesctl --targets=tpl-opentofu state.apply
sudo qubesctl top.disable opentofu
  • State:
sudo qubesctl state.apply opentofu.create
sudo qubesctl --skip-dom0 --targets=tpl-opentofu state.apply opentofu.install

Usage

You will be able to run OpenTofu from the "opentofu" qube. As simple as that.

When using SSH keys, being a split-ssh-agent will facilitate key management.