Skip to content

Commit

Permalink
Merge pull request #73 from johnpmitsch/client_certs
Browse files Browse the repository at this point in the history
Fixes #13635 - set pulp client cert settings
  • Loading branch information
ehelms committed Feb 10, 2016
2 parents b027dae + 67fe6f2 commit 6b6b7b0
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions manifests/pulp_client.pp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
$common_name = 'admin',
){

$client_cert_name = "${hostname}-pulp-client"
$client_cert_name = 'pulp-client'
$client_cert = "${::certs::pki_dir}/certs/${client_cert_name}.crt"
$client_key = "${::certs::pki_dir}/private/${client_cert_name}.key"
$ssl_ca_cert = $::certs::ca_cert
Expand Down Expand Up @@ -43,5 +43,14 @@
mode => '0440',
}
}
}

foreman_config_entry { 'pulp_client_cert':
value => $client_cert,
ignore_missing => false,
}

foreman_config_entry { 'pulp_client_key':
value => $client_key,
ignore_missing => false,
}
}

0 comments on commit 6b6b7b0

Please sign in to comment.