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 9, 2016
1 parent b027dae commit 6abfdce
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
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::pki_dir}/certs/${certs::server_ca_name}.crt",
require => File["${certs::pki_dir}/certs/${certs::server_ca_name}.crt"],
}

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"
},
{
"name": "puppetlabs-stdlib",
"version_requirement": ">= 4.2.0 < 5.0.0"
Expand Down

0 comments on commit 6abfdce

Please sign in to comment.