Skip to content

Commit

Permalink
Refs #30346 - override candlepin client keypair group
Browse files Browse the repository at this point in the history
  • Loading branch information
jturel committed Jul 27, 2020
1 parent ba56774 commit 06b421a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion manifests/candlepin.pp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@
include katello::params

class { 'certs::candlepin':
hostname => $katello::params::candlepin_host,
hostname => $katello::params::candlepin_host,
client_keypair_group => $katello::params::candlepin_client_keypair_group,
}

class { 'candlepin':
Expand Down
1 change: 1 addition & 0 deletions manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
String[1] $candlepin_oauth_secret = $katello::globals::candlepin_oauth_secret,
Stdlib::Host $candlepin_host = 'localhost',
Stdlib::HTTPSUrl $candlepin_url = "https://${candlepin_host}:8443/candlepin",
String[1] $candlepin_client_keypair_group = 'foreman',
String[1] $postgresql_evr_package = $katello::globals::postgresql_evr_package,
) inherits katello::globals {
}
4 changes: 4 additions & 0 deletions spec/setup_acceptance_node.pp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
version => 'nightly',
}

group { 'foreman':
ensure => present,
}

if $facts['os']['release']['major'] == '8' {
# https://tickets.puppetlabs.com/browse/PUP-9978
exec { '/usr/bin/dnf -y module enable pki-core':
Expand Down

0 comments on commit 06b421a

Please # to comment.