parameters for prid
This commit is contained in:
parent
07f7db3b35
commit
a270f22e9c
1 changed files with 5 additions and 5 deletions
|
@ -532,10 +532,10 @@ class eidas_proxy($version='1.0.0',$country='se',$hostname='localhost', $spring_
|
||||||
ensure_resource('class','https_server',{})
|
ensure_resource('class','https_server',{})
|
||||||
}
|
}
|
||||||
|
|
||||||
class prid($version="1.0.0",$clients) {
|
class prid($version="1.0.0",$clients="",$mdsl="") {
|
||||||
$_version = safe_hiera('eidas_prid_version',$version)
|
$_version = safe_hiera('eidas_prid_version',$version)
|
||||||
$mdsl = safe_hiera('eidas_prid_mdsl',"")
|
$_mdsl = safe_hiera('eidas_prid_mdsl',$mdsl)
|
||||||
$hostname = $::fqdn
|
$hostname = $::fqdn
|
||||||
$_allow_clients = safe_hiera($clients)
|
$_allow_clients = safe_hiera($clients)
|
||||||
sunet::docker_run {'prid':
|
sunet::docker_run {'prid':
|
||||||
image => 'docker.sunet.se/prid-service',
|
image => 'docker.sunet.se/prid-service',
|
||||||
|
@ -545,7 +545,7 @@ class prid($version="1.0.0",$clients) {
|
||||||
volumes => ['/etc/prid-service:/etc/prid-service',
|
volumes => ['/etc/prid-service:/etc/prid-service',
|
||||||
'/etc/ssl:/etc/ssl'],
|
'/etc/ssl:/etc/ssl'],
|
||||||
env => ["PRID_SERVICE_POLICY_CONFIGURATION=file:///etc/prid-service/policy.properties",
|
env => ["PRID_SERVICE_POLICY_CONFIGURATION=file:///etc/prid-service/policy.properties",
|
||||||
"PRID_SERVICE_METADATA_SERVICELIST_URL=$mdsl",
|
"PRID_SERVICE_METADATA_SERVICELIST_URL=$_mdsl",
|
||||||
"CERTNAME=${hostname}_infra"],
|
"CERTNAME=${hostname}_infra"],
|
||||||
extra_parameters => ["--log-driver=syslog"]
|
extra_parameters => ["--log-driver=syslog"]
|
||||||
} ->
|
} ->
|
||||||
|
|
Loading…
Add table
Reference in a new issue