Skip to content

Commit

Permalink
Merge pull request #35 from mherrre/master
Browse files Browse the repository at this point in the history
Adding salt_repo_url support for Debian
  • Loading branch information
mherrre authored Dec 10, 2021
2 parents aa5daea + c240ac5 commit dd45a2a
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.5

* Adding saltstack::repo::salt_repo_url support for Debian based

## 0.2.4

* fix for RHEL repository URL to get major version from facts as Salstack removed the folders $(majorrelease)Server
Expand Down
4 changes: 2 additions & 2 deletions manifests/repo.pp
Original file line number Diff line number Diff line change
Expand Up @@ -84,12 +84,12 @@

apt::key { 'SALTSTACK-GPG-KEY':
key => 'C7A3D3EE96D9220BAE9420246DF2C88E747F3421',
key_source => "${protocol}://repo.saltstack.com/${base_yum_repo}/${saltstack::params::repo_path}/amd64/${composite_version}/SALTSTACK-GPG-KEY.pub",
key_source => "${protocol}://${salt_repo_url}/${base_yum_repo}/${saltstack::params::repo_path}/amd64/${composite_version}/SALTSTACK-GPG-KEY.pub",
}

# deb http://repo.saltstack.com/apt/ubuntu/16.04/amd64/latest xenial main
apt::source { 'saltstack':
location => "${protocol}://repo.saltstack.com/${base_yum_repo}/${saltstack::params::repo_path}/amd64/${composite_version}",
location => "${protocol}://${salt_repo_url}/${base_yum_repo}/${saltstack::params::repo_path}/amd64/${composite_version}",
release => $facts['os']['distro']['codename'],
repos => 'main',
require => Apt::Key['SALTSTACK-GPG-KEY'],
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.4",
"version": "0.2.5",
"author": "eyp",
"summary": "saltstack - minion, master, api, cloud, syndic and ssh setup and configuration",
"license": "Apache-2.0",
Expand Down

0 comments on commit dd45a2a

Please sign in to comment.