Skip to content

Commit

Permalink
variable for gpg key
Browse files Browse the repository at this point in the history
  • Loading branch information
ArmandoGilBonet committed Mar 2, 2021
1 parent 41e01ad commit 293c1b4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions manifests/repo.pp
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
$version_minor = undef,
$protocol = 'https',
$python_version = undef,
$salt_repo_url = 'repo.saltstack.com'

$salt_repo_url = 'repo.saltstack.com',
$gpg_key = 'SALTSTACK-GPG-KEY.pub'
) inherits saltstack::params {

Exec {
Expand Down Expand Up @@ -72,7 +72,7 @@
descr => "SaltStack repo - ${version} ${version_minor}",
enabled => '1',
gpgcheck => '1',
gpgkey => "${protocol}://${salt_repo_url}/yum/redhat/\$releasever/\$basearch/${composite_version}/SALTSTACK-GPG-KEY.pub",
gpgkey => "${protocol}://${salt_repo_url}/yum/redhat/\$releasever/\$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.1",
"version": "0.2.2",
"author": "eyp",
"summary": "saltstack - minion, master, api, cloud, syndic and ssh setup and configuration",
"license": "Apache-2.0",
Expand Down

0 comments on commit 293c1b4

Please sign in to comment.