diff --git a/manifests/repo.pp b/manifests/repo.pp index 994370c..91a229f 100644 --- a/manifests/repo.pp +++ b/manifests/repo.pp @@ -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 { @@ -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': diff --git a/metadata.json b/metadata.json index 6f058da..4f60bc3 100644 --- a/metadata.json +++ b/metadata.json @@ -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",