mirror of
https://github.com/ben-grande/qusal.git
synced 2024-10-01 02:35:49 -04:00
feat: add OpenTofu
This commit is contained in:
parent
f735474141
commit
89bd760d3c
@ -73,6 +73,10 @@ Files: salt/kicksecure-minimal/files/repo/*
|
||||
Copyright: 2014 Patrick Schleizer <adrelanos@kicksecure.com>
|
||||
License: CC0-1.0
|
||||
|
||||
Files: salt/opentofu/files/repo/*
|
||||
Copyright: 2023 OpenTofu <core@opentofu.org>
|
||||
License: CC0-1.0
|
||||
|
||||
Files: salt/signal/files/repo/*
|
||||
Copyright: 2017 Open Whisper Systems <support@whispersystems.org>
|
||||
License: CC0-1.0
|
||||
|
@ -85,6 +85,7 @@ you accomplish your mission.
|
||||
- Remote task execution and configuration management:
|
||||
- [ansible](../salt/ansible/README.md)
|
||||
- [docker](../salt/docker/README.md)
|
||||
- [opentofu](../salt/opentofu/README.md)
|
||||
- [terraform](../salt/terraform/README.md)
|
||||
|
||||
- Coding:
|
||||
|
38
salt/opentofu/README.md
Normal file
38
salt/opentofu/README.md
Normal file
@ -0,0 +1,38 @@
|
||||
# opentofu
|
||||
|
||||
OpenTofu installation in Qubes OS.
|
||||
|
||||
## Table of Contents
|
||||
|
||||
* [Description](#description)
|
||||
* [Installation](#installation)
|
||||
* [Usage](#usage)
|
||||
|
||||
## Description
|
||||
|
||||
Installs OpenTofu and use it on the "opentofu" app qube. An open-source fork
|
||||
of Terraform.
|
||||
|
||||
## Installation
|
||||
|
||||
- Top:
|
||||
```sh
|
||||
qubesctl top.enable opentofu
|
||||
qubesctl --targets=tpl-opentofu state.apply
|
||||
qubesctl top.disable opentofu
|
||||
```
|
||||
|
||||
- State:
|
||||
<!-- pkg:begin:post-install -->
|
||||
```sh
|
||||
qubesctl state.apply opentofu.create
|
||||
qubesctl --skip-dom0 --targets=tpl-opentofu state.apply opentofu.install
|
||||
```
|
||||
<!-- pkg:end:post-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.
|
8
salt/opentofu/clone.sls
Normal file
8
salt/opentofu/clone.sls
Normal file
@ -0,0 +1,8 @@
|
||||
{#
|
||||
SPDX-FileCopyrightText: 2023 Benjamin Grande M. S. <ben.grande.b@gmail.com>
|
||||
|
||||
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
#}
|
||||
|
||||
{% from 'utils/macros/clone-template.sls' import clone_template -%}
|
||||
{{ clone_template('debian-minimal', sls_path) }}
|
10
salt/opentofu/clone.top
Normal file
10
salt/opentofu/clone.top
Normal file
@ -0,0 +1,10 @@
|
||||
{#
|
||||
SPDX-FileCopyrightText: 2023 Benjamin Grande M. S. <ben.grande.b@gmail.com>
|
||||
|
||||
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
#}
|
||||
|
||||
base:
|
||||
'dom0':
|
||||
- match: nodegroup
|
||||
- opentofu.clone
|
44
salt/opentofu/create.sls
Normal file
44
salt/opentofu/create.sls
Normal file
@ -0,0 +1,44 @@
|
||||
{#
|
||||
SPDX-FileCopyrightText: 2023 - 2024 Benjamin Grande M. S. <ben.grande.b@gmail.com>
|
||||
|
||||
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
#}
|
||||
|
||||
{%- from "qvm/template.jinja" import load -%}
|
||||
|
||||
include:
|
||||
- .clone
|
||||
|
||||
{% load_yaml as defaults -%}
|
||||
name: tpl-{{ slsdotpath }}
|
||||
force: True
|
||||
require:
|
||||
- sls: {{ slsdotpath }}.clone
|
||||
prefs:
|
||||
- audiovm: ""
|
||||
{%- endload %}
|
||||
{{ load(defaults) }}
|
||||
|
||||
{% load_yaml as defaults -%}
|
||||
name: {{ slsdotpath }}
|
||||
force: True
|
||||
require:
|
||||
- sls: {{ slsdotpath }}.clone
|
||||
present:
|
||||
- template: tpl-{{ slsdotpath }}
|
||||
- label: purple
|
||||
prefs:
|
||||
- template: tpl-{{ slsdotpath }}
|
||||
- label: purple
|
||||
- audiovm: ""
|
||||
- vcpus: 1
|
||||
- memory: 400
|
||||
- maxmem: 600
|
||||
- autostart: False
|
||||
features:
|
||||
- disable:
|
||||
- service.cups
|
||||
- service.cups-browsed
|
||||
- service.tinyproxy
|
||||
{%- endload %}
|
||||
{{ load(defaults) }}
|
10
salt/opentofu/create.top
Normal file
10
salt/opentofu/create.top
Normal file
@ -0,0 +1,10 @@
|
||||
{#
|
||||
SPDX-FileCopyrightText: 2023 Benjamin Grande M. S. <ben.grande.b@gmail.com>
|
||||
|
||||
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
#}
|
||||
|
||||
base:
|
||||
'dom0':
|
||||
- match: nodegroup
|
||||
- opentofu.create
|
117
salt/opentofu/files/repo/opentofu.asc
Normal file
117
salt/opentofu/files/repo/opentofu.asc
Normal file
@ -0,0 +1,117 @@
|
||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||
|
||||
mQINBGVUyIwBEADPg6jUJm5liMTiDndyprnwXQ23GdyQm/kW9MFOhYDRksmmbsz0
|
||||
DCfqntFpuoKxPXzA+JTrZlWZONtU+leZjIOlAVZiz0rwz5EJq7uIrkueWtUk6AYk
|
||||
BLN+zMtbui0z3HCPVNnR5BlVNyXQeW3jlrQtzuKevjZWzI0gbQGgEKNpj+lfyRFu
|
||||
6q3u/T0o3p/6bOOlQHwCMtnFlWpjr6f/J2EdUVO/6NYHQzImPj4LINXF/+eqo7v6
|
||||
svFtaVTtREG2V2V7We7bu/cJ+NgJYH7ro7UhB1RQH2k09NdpSCt9F60PVERnORpx
|
||||
GBkM/VKZzgMSzRvdpxUWwrLxfAxinu5ddbBm3y0bzaU80OT3i1qrWIqW73fmdGHQ
|
||||
71gbJxRrroyLMWehjcJ/9WJDxkHqsfPKqBifYsp6/J9npczDfSU+zYBVGpR73a4E
|
||||
dbeIRWqwbH0LWhlbi1IM5aFDaZMFNkY+AWyP+OHn8Kehu6DOIh1AVM7v7vLxaX9h
|
||||
t1jVJbswjvPFYquv1DvUdc7VP2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q
|
||||
bzLK5dDVWbh/EYTiEN1xKXM6rlAquYv8I16uWL8QHanMb6yexNmDYhC4fXWqCi+s
|
||||
5sXxWrPrd+fGz8CR/fEYahPXj8uY6dwN9DlWyek9QtKW2PsqrkBn5vCOm2IyZW6d
|
||||
t/Kn70tYtxMxJND2otk47mpG/Fv3sYK2bTGJ+k/5+E5IrjWqIX2lVB3G1+TCoZ5s
|
||||
cc16zls32mOlRh81fTAqcwkDFxICxcOeNHGLt3N+UvoPSUafYKD96rn5mWFao4xb
|
||||
cFniaYv2PdqH8HDjvXZXqHypRMXvYMbXXOgydLL+tSUSBpMTd4afjq8x2gNSWOEL
|
||||
I1jT5FWbKTKan0ycKi37bSqGHhDjlg4HRGvC3IK0EuVjdX3r+8uIVgFbqLwNhXk4
|
||||
GAIL03vl689TQ7/oPW75XCQIevFai0kcJPl6qIRvi9/S/v5EPRy9UDCGY/MPmc5f
|
||||
H1an0ebU4I4TlYfBoEUkYYqBDxvxWW0I/Q01rDebcd6mrGw8lW1EiNZlClLwx9Bv
|
||||
/+MNnIT9m1f8KeqmweoAgbIQRUI7EkJSzxYN4DNuy2XoKmF9
|
||||
=CRuR
|
||||
-----END PGP PUBLIC KEY BLOCK-----
|
||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||
|
||||
mQINBGVOQMUBEACxkE5gkTJlIeXr68hdt181kmTjJpU3KrvkFbtpKqOaX23Mb7nr
|
||||
wNjqt0z/N9fAUBmBrrEVwoyJljlxocKcTGfgIJ6GvbgfpxMIskm9yo9vZBoqzlV1
|
||||
wcTCDJhWOI3f3JzeSOSMYch2pv5fAIn8vKF+2H+iStJU6i9HRR9jfXutnSN9PyZ/
|
||||
DBlGITqF998K7AVYzcKJuURE5Z46ugVeYFxkM7e2Vox3SL1L5XYIL5AMKQISej5O
|
||||
XHSUQTN2jT6JLlFYq32mQG1n3aoieiUhPRdyxnqDNfu3e7w7Sz9SbIrH4xPtGF71
|
||||
9rid+VaiECbRY4nUUbKseoV9E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Dw4C1u6l96lC7mmqTPIwbL5B/Sq/14Y1qwfrF+uYjNji30Le4CCvreDzEe/z
|
||||
Ro2pGJbmUjLDBvjuuqwcT8O0zbmCbOlJDNoZ7dYpzjDKytIJam+HYEQfAsfnYkbX
|
||||
X+hIwLEq3sUQ2tBGBguIQeYc2nZKwHPP4z1d8bZ+W4GmTNBT5Xmlr+ibk1BWeLOY
|
||||
ikoMbk+mjKL5aKCf5K5WPme6FxWUfrc35MK9Z+MadHt9avMUGoicmlE/QPjFmkr5
|
||||
RZPxmHdKZ3sLk1JPmOaaQD6iUitxRTIoLSxx54YbwrXy+E5oqSVgoreRj+lbmq63
|
||||
IQ5CQMh9A6BXZJSrvvTIuMqQcDh3YNgiWbENnPtxpeZBOpF/GM4O/EB5jyDi55Fw
|
||||
TyhVBh6y29nlmvi0X/i/QYQirVYjn4eFJlqC6iTkoFFLe4nRe/vC80AxAzrjFWi/
|
||||
5YX0M4svJBgWRFtqUsCREVSymkhat64JhsUQso1wktjpdfg3sj9BfVPo+LzSbiPe
|
||||
sK+NgDFNb6frvnfv53kgkDOToIrER8pOqEYPufmqRvY7WkZiRuZwcnQE4bsHA46e
|
||||
5ReBboz/tMQSI5vI
|
||||
=SxL8
|
||||
-----END PGP PUBLIC KEY BLOCK-----
|
2
salt/opentofu/files/repo/opentofu.list
Normal file
2
salt/opentofu/files/repo/opentofu.list
Normal file
@ -0,0 +1,2 @@
|
||||
deb [signed-by=/usr/share/keyrings/opentofu.asc] http://packages.opentofu.org/opentofu/tofu/any/ any main
|
||||
# vim:ft=debsources
|
6
salt/opentofu/files/repo/opentofu.sources
Normal file
6
salt/opentofu/files/repo/opentofu.sources
Normal file
@ -0,0 +1,6 @@
|
||||
Types: deb
|
||||
URIs: http://packages.opentofu.org/opentofu/tofu/any/
|
||||
Suites: any
|
||||
Components: main
|
||||
Signed-by: /usr/share/keyrings/opentofu.asc
|
||||
# vim:ft=debsources
|
117
salt/opentofu/files/repo/opentofu.yum.asc
Normal file
117
salt/opentofu/files/repo/opentofu.yum.asc
Normal file
@ -0,0 +1,117 @@
|
||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||
|
||||
mQINBGVUyIwBEADPg6jUJm5liMTiDndyprnwXQ23GdyQm/kW9MFOhYDRksmmbsz0
|
||||
DCfqntFpuoKxPXzA+JTrZlWZONtU+leZjIOlAVZiz0rwz5EJq7uIrkueWtUk6AYk
|
||||
BLN+zMtbui0z3HCPVNnR5BlVNyXQeW3jlrQtzuKevjZWzI0gbQGgEKNpj+lfyRFu
|
||||
6q3u/T0o3p/6bOOlQHwCMtnFlWpjr6f/J2EdUVO/6NYHQzImPj4LINXF/+eqo7v6
|
||||
svFtaVTtREG2V2V7We7bu/cJ+NgJYH7ro7UhB1RQH2k09NdpSCt9F60PVERnORpx
|
||||
GBkM/VKZzgMSzRvdpxUWwrLxfAxinu5ddbBm3y0bzaU80OT3i1qrWIqW73fmdGHQ
|
||||
71gbJxRrroyLMWehjcJ/9WJDxkHqsfPKqBifYsp6/J9npczDfSU+zYBVGpR73a4E
|
||||
dbeIRWqwbH0LWhlbi1IM5aFDaZMFNkY+AWyP+OHn8Kehu6DOIh1AVM7v7vLxaX9h
|
||||
t1jVJbswjvPFYquv1DvUdc7VP2QHz3xctQS1GZJQ1ekcgTv9rRYXUOOwknInjtkM
|
||||
9kQDtyBkVLcEc8ha3Cfh6PJscIP5VHwaNMgAPr9tsl3xqdz56l5UPjFSFuel98jS
|
||||
Bqn83VrT0uKwM0PnDVHd/7q8+Dg1EtOggMwZ830KORFNdjfv6ydsBvl7fwARAQAB
|
||||
tEpPcGVuVG9mdSAoVGhpcyBrZXkgaXMgdXNlZCB0byBzaWduIG9wZW50b2Z1IHBy
|
||||
b3ZpZGVycykgPGNvcmVAb3BlbnRvZnUub3JnPokCTAQTAQgAQQUCZVTIjAkQDArz
|
||||
E+X9n4AWIQTj5uQ9hMuFLq2wBR0MCvMT5f2fgAIbAwIeAQIZAQMLCQcCFQgDFgAC
|
||||
BScJ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F/GM4O/EB5jyDi55Fw
|
||||
TyhVBh6y29nlmvi0X/i/QYQirVYjn4eFJlqC6iTkoFFLe4nRe/vC80AxAzrjFWi/
|
||||
5YX0M4svJBgWRFtqUsCREVSymkhat64JhsUQso1wktjpdfg3sj9BfVPo+LzSbiPe
|
||||
sK+NgDFNb6frvnfv53kgkDOToIrER8pOqEYPufmqRvY7WkZiRuZwcnQE4bsHA46e
|
||||
5ReBboz/tMQSI5vI
|
||||
=SxL8
|
||||
-----END PGP PUBLIC KEY BLOCK-----
|
23
salt/opentofu/files/repo/opentofu.yum.repo
Normal file
23
salt/opentofu/files/repo/opentofu.yum.repo
Normal file
@ -0,0 +1,23 @@
|
||||
[opentofu]
|
||||
name=opentofu
|
||||
baseurl=http://packages.opentofu.org/opentofu/tofu/rpm_any/rpm_any/$basearch
|
||||
repo_gpgcheck=0
|
||||
gpgcheck=1
|
||||
enabled=1
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-opentofu
|
||||
sslverify=1
|
||||
sslcacert=/etc/pki/tls/certs/ca-bundle.crt
|
||||
metadata_expire=300
|
||||
|
||||
[opentofu-source]
|
||||
name=opentofu-source
|
||||
baseurl=http://packages.opentofu.org/opentofu/tofu/rpm_any/rpm_any/SRPMS
|
||||
repo_gpgcheck=0
|
||||
gpgcheck=1
|
||||
enabled=1
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-opentofu
|
||||
sslverify=1
|
||||
sslcacert=/etc/pki/tls/certs/ca-bundle.crt
|
||||
metadata_expire=300
|
||||
|
||||
# vim: ft=toml
|
12
salt/opentofu/init.top
Normal file
12
salt/opentofu/init.top
Normal file
@ -0,0 +1,12 @@
|
||||
{#
|
||||
SPDX-FileCopyrightText: 2023 Benjamin Grande M. S. <ben.grande.b@gmail.com>
|
||||
|
||||
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
#}
|
||||
|
||||
base:
|
||||
'dom0':
|
||||
- match: nodegroup
|
||||
- opentofu.create
|
||||
'tpl-opentofu':
|
||||
- opentofu.install
|
31
salt/opentofu/install.sls
Normal file
31
salt/opentofu/install.sls
Normal file
@ -0,0 +1,31 @@
|
||||
{#
|
||||
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 -%}
|
9
salt/opentofu/install.top
Normal file
9
salt/opentofu/install.top
Normal file
@ -0,0 +1,9 @@
|
||||
{#
|
||||
SPDX-FileCopyrightText: 2023 Benjamin Grande M. S. <ben.grande.b@gmail.com>
|
||||
|
||||
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
#}
|
||||
|
||||
base:
|
||||
'tpl-opentofu':
|
||||
- opentofu.install
|
@ -94,7 +94,8 @@ Remap-googlerep: https://dl.google.com http://dl.google.com
|
||||
Remap-hashicorprep: https://apt.releases.hashicorp.com http://apt.releases.hashicorp.com
|
||||
Remap-launchpadrep: https://ppa.launchpad.net http://ppa.launchpad.net
|
||||
Remap-signalrep: https://updates.signal.org http://updates.signal.org
|
||||
Remap-syncthingrep: https://apt.syncthing.net
|
||||
Remap-syncthingrep: https://apt.syncthing.net http://apt.syncthing.net
|
||||
Remap-opentofurep: https://packages.opentofu.org http://packages.opentofu.org
|
||||
Remap-whonixdebrep: https://deb.whonix.org http://deb.whonix.org
|
||||
Remap-kicksecuredebrep: https://deb.kicksecure.com http://deb.kicksecure.com
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user