demw config

This commit is contained in:
Leif Johansson 2018-09-03 23:02:47 +02:00
parent 46d34e923f
commit f1c36b7a24
2 changed files with 17 additions and 0 deletions

View file

@ -511,6 +511,15 @@ md-eu1.qa.komreg.net:
- 'se-tug-lb-1.sunet.se'
port: '443'
'^demw-[0-9]+\.qa\.sveidas\.se$':
sunet_iaas_cloud:
eid::dockerhost:
konsulter:
autoupdate:
eidas_de_middleware:
version: 106-rs
hostname: qa.demw.eidas.swedenconnect.se
'^refidp-[0-9]+\.qa\.sveidas\.se$':
sunet_iaas_cloud:
eid::dockerhost:

View file

@ -258,6 +258,14 @@ class eidas_de_middleware($version="106-rs",$hostname='localhost') {
$middleware_crypt_pin = safe_hiera('middleware_crypt_pin')
$middleware_sign_pin = safe_hiera('middleware_sign_pin')
file {['/etc/eidas-middleware','/etc/eidas-middleware/configuration','/etc/eidas-middleware/database']: ensure => directory } ->
sunet::snippets::secret_file {"/etc/eidas-middleware/configuration/eidasmw-signature-keystore.jks":
hiera_key => 'eidasmw-signature-keystore',
base64 => true
} ->
sunet::snippets::secret_file {"/etc/eidas-middleware/configuration/eidasmw-crypto-keystore.jks":
hiera_key => 'eidasmw-crypto-keystore',
base64 => true
} ->
sunet::docker_run {'eidas-demw':
image => 'docker.sunet.se/eidas-demw',
imagetag => $_version,