prid service config
This commit is contained in:
parent
791030b8f1
commit
882f23f734
2 changed files with 23 additions and 1 deletions
|
@ -51,3 +51,9 @@ r1.komreg.net:
|
||||||
- 'se-fre-lb-1.sunet.se'
|
- 'se-fre-lb-1.sunet.se'
|
||||||
- 'se-tug-lb-1.sunet.se'
|
- 'se-tug-lb-1.sunet.se'
|
||||||
port: '443'
|
port: '443'
|
||||||
|
|
||||||
|
'^prid-[0-9]+\.qa\.sveidas\.se$':
|
||||||
|
openstack_ubuntu_16_04_dockerhost:
|
||||||
|
konsulter:
|
||||||
|
sunet_iaas_cloud:
|
||||||
|
autoupdate:
|
||||||
|
|
|
@ -257,7 +257,23 @@ class eidas_proxy {
|
||||||
"SPRING_PROFILES_ACTIVE=se",
|
"SPRING_PROFILES_ACTIVE=se",
|
||||||
"SPRING_CONFIG_LOCATION=/etc/eidas-proxy/$country/cfg/",
|
"SPRING_CONFIG_LOCATION=/etc/eidas-proxy/$country/cfg/",
|
||||||
"PROXY_SERVICE_COOKIEENCRYPTPW=$proxy_service_cookie_encrypt_pw"]
|
"PROXY_SERVICE_COOKIEENCRYPTPW=$proxy_service_cookie_encrypt_pw"]
|
||||||
}
|
} ->
|
||||||
|
class {'webserver': } ->
|
||||||
|
class {'https_server': }
|
||||||
|
}
|
||||||
|
|
||||||
|
class prid($hostname) {
|
||||||
|
sunet::docker_run {'eidas_proxy':
|
||||||
|
image => 'docker.sunet.se/prid-service',
|
||||||
|
imagetag => '1.0.0',
|
||||||
|
hostname => "$hostname",
|
||||||
|
ports => ['443:8443']
|
||||||
|
volumes => ['/var/log/prid-service:/var/log/prid-service',
|
||||||
|
'/etc/prid-service:/etc/prid-service',
|
||||||
|
'/etc/ssl:/etc/ssl'],
|
||||||
|
env => ["PRID_SERVICE_POLICY_CONFIGURATION=/etc/prid-service/policy.properties",
|
||||||
|
"CERTNAME=${hostname}_infra"]
|
||||||
|
} ->
|
||||||
class {'webserver': } ->
|
class {'webserver': } ->
|
||||||
class {'https_server': }
|
class {'https_server': }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue