Skip to content

Commit

Permalink
updated repo URL for RHEL
Browse files Browse the repository at this point in the history
  • Loading branch information
ArmandoGilBonet committed Jun 25, 2021
1 parent 3c03e47 commit aa5daea
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# CHANGELOG

## 0.2.4

* fix for RHEL repository URL to get major version from facts as Salstack removed the folders $(majorrelease)Server

## 0.2.3

* bugfix repo GPG key for RHEL8
Expand Down
4 changes: 2 additions & 2 deletions manifests/repo.pp
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,11 @@
# gpgkey=https://repo.saltstack.com/yum/redhat/7/$basearch/archive/3000.3/SALTSTACK-GPG-KEY.pub

yumrepo { 'saltstack-repo':
baseurl => "${protocol}://${salt_repo_url}/${base_yum_repo}/redhat/\$releasever/\$basearch/${composite_version}",
baseurl => "${protocol}://${salt_repo_url}/${base_yum_repo}/redhat/${::operatingsystemmajrelease}/\$basearch/${composite_version}",
descr => "SaltStack repo - ${version} ${version_minor}",
enabled => '1',
gpgcheck => '1',
gpgkey => "${protocol}://${salt_repo_url}/${base_yum_repo}/redhat/\$releasever/\$basearch/${composite_version}/${gpg_key}",
gpgkey => "${protocol}://${salt_repo_url}/${base_yum_repo}/redhat/${::operatingsystemmajrelease}/\$basearch/${composite_version}/${gpg_key}",
}
}
'Debian':
Expand Down
2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eyp-saltstack",
"version": "0.2.3",
"version": "0.2.4",
"author": "eyp",
"summary": "saltstack - minion, master, api, cloud, syndic and ssh setup and configuration",
"license": "Apache-2.0",
Expand Down

0 comments on commit aa5daea

Please sign in to comment.