switching to agpl, and cleaning up repo class

This commit is contained in:
Bram Vogelaar 2021-01-12 22:49:03 +01:00
parent 3615507129
commit a438dee6fd
No known key found for this signature in database
GPG key ID: 02374F82C00E4984
4 changed files with 634 additions and 174 deletions

View file

@ -1,4 +1,4 @@
# hashi_stack::repo
# This class installs the hashicorp repository
#
# @summary Set up the package repository for the HashiCorp Stack components
#
@ -38,7 +38,7 @@ class hashi_stack::repo (
pin => $priority,
}
}
'RedHat', 'Linux': {
'RedHat': {
yumrepo { 'HashiCorp':
descr => $description,
baseurl => 'https://rpm.releases.hashicorp.com/RHEL/$releasever/$basearch/stable',