feat: add terraform and chrome fedora repositories

This commit is contained in:
Ben Grande 2024-05-16 18:24:03 +02:00
parent 3adc241500
commit d4c3fb11d3
No known key found for this signature in database
GPG Key ID: 00C64E14F51F9E56
6 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1 @@
chrome.asc

View File

@ -0,0 +1,8 @@
[google-chrome]
name=google-chrome - $basearch
baseurl=http://dl.google.com/linux/chrome/rpm/stable/$basearch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-chrome
# vim: ft=toml

View File

@ -6,13 +6,19 @@ SPDX-License-Identifier: AGPL-3.0-or-later
{% if grains['nodename'] != 'dom0' -%}
{% if grains['os_family']|lower == 'debian' -%}
include:
- .install-repo
- utils.tools.common.update
{% endif -%}
"{{ slsdotpath }}-installed":
pkg.installed:
{% if grains['os_family']|lower == 'debian' -%}
- require:
- sls: {{ slsdotpath }}.install-repo
- sls: utils.tools.common.update
{% endif %}
- install_recommends: False
- skip_suggestions: True
- pkgs:

View File

@ -7,15 +7,19 @@ SPDX-License-Identifier: AGPL-3.0-or-later
{% if grains['nodename'] != 'dom0' -%}
{% if grains['os_family']|lower == 'debian' -%}
include:
- .install-repo
- utils.tools.common.update
{% endif -%}
"{{ slsdotpath }}-installed":
pkg.installed:
{% if grains['os_family']|lower == 'debian' %}
- require:
- sls: {{ slsdotpath }}.install-repo
- sls: utils.tools.common.update
{% endif %}
- install_recommends: False
- skip_suggestions: True
- pkgs:

View File

@ -0,0 +1 @@
terraform.asc

View File

@ -0,0 +1,15 @@
[hashicorp]
name=Hashicorp Stable - $basearch
baseurl=https://rpm.releases.hashicorp.com/fedora/$releasever/$basearch/stable
enabled=1
gpgcheck=1
gpgkey=https:///etc/pki/rpm-gpg/RPM-GPG-KEY-terraform
[hashicorp-test]
name=Hashicorp Test - $basearch
baseurl=https://rpm.releases.hashicorp.com/fedora/$releasever/$basearch/test
enabled=0
gpgcheck=1
gpgkey=https:///etc/pki/rpm-gpg/RPM-GPG-KEY-terraform
# vim: ft=toml