Skip to content

Commit

Permalink
Fixes #13635 - set pulp client cert settings
Browse files Browse the repository at this point in the history
  • Loading branch information
John Mitsch committed Feb 10, 2016
1 parent b027dae commit 67fe6f2
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 67fe6f2

Please sign in to comment.