Skip to content

Commit

Permalink
Fixes #13634 - Adding Katello cert to ca-trust
Browse files Browse the repository at this point in the history
Adding Katello Server cert to the machines local ca-trust
  • Loading branch information
parthaa committed Feb 10, 2016
1 parent b027dae commit 2ae5f45
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions .fixtures.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ fixtures:
extlib: "git://github.com/puppet-community/puppet-extlib.git"
foreman: "git://github.com/theforeman/puppet-foreman.git"
common: "git://github.com/katello/puppet-common.git"
evenup: "[email protected]:evenup/evenup-trusted_ca.git"
symlinks:
certs: "#{source_dir}"
6 changes: 6 additions & 0 deletions manifests/katello.pp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@
$candlepin_consumer_summary = "Subscription-manager consumer certificate for Katello instance ${::fqdn}"
$candlepin_consumer_description = 'Consumer certificate and post installation script that configures rhsm.'

class { '::trusted_ca': } ->
trusted_ca::ca { 'katello_server-host-cert':
source => $certs::katello_server_ca_cert,
require => File[$certs::katello_server_ca_cert],
}

file { $katello_www_pub_dir:
ensure => directory,
owner => 'apache',
Expand Down
4 changes: 4 additions & 0 deletions metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
"project_page": "https://github.com/Katello/puppet-certs",
"issues_url": "http://projects.theforeman.org/projects/katello/issues",
"dependencies": [
{
"name": "evenup-trusted_ca",
"version_requirement": ">= 1.0.1 < 2.0.0"
},
{
"name": "puppetlabs-stdlib",
"version_requirement": ">= 4.2.0 < 5.0.0"
Expand Down

0 comments on commit 2ae5f45

Please sign in to comment.