Skip to content

Commit

Permalink
Merge pull request #653 from bastelfreak/archlinux
Browse files Browse the repository at this point in the history
use correct datatype for $package_gpg_key
  • Loading branch information
dhollinger authored Oct 18, 2017
2 parents 8de286f + 20f5cd7 commit 9663f14
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@
Optional[String] $node_ip_address = undef,
Optional[Variant[Numeric, String]] $package_apt_pin = undef,
String $package_ensure = $rabbitmq::params::package_ensure,
String $package_gpg_key = $rabbitmq::params::package_gpg_key,
Optional[String] $package_gpg_key = $rabbitmq::params::package_gpg_key,
String $package_name = $rabbitmq::params::package_name,
Optional[String] $package_source = undef,
Optional[String] $package_provider = undef,
Expand Down
4 changes: 2 additions & 2 deletions manifests/repo/rhel.pp
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Class: rabbitmq::repo::rhel
# Makes sure that the Packagecloud repo is installed
class rabbitmq::repo::rhel(
$location = "https://packagecloud.io/rabbitmq/rabbitmq-server/el/${facts['os'][release][major]}/\$basearch",
$key_source = $rabbitmq::package_gpg_key,
$location = "https://packagecloud.io/rabbitmq/rabbitmq-server/el/${facts['os'][release][major]}/\$basearch",
String $key_source = $rabbitmq::package_gpg_key,
) {

Class['rabbitmq::repo::rhel'] -> Package<| title == 'rabbitmq-server' |>
Expand Down

0 comments on commit 9663f14

Please sign in to comment.