first flush connector deployment descriptor

This commit is contained in:
Leif Johansson 2017-10-27 10:58:21 +02:00
parent 3c37580419
commit 8c6a20ffdb

View file

@ -197,6 +197,21 @@ class swamid_pyff_signer {
sunet::exabgp { 'swamid': }
}
class eidas_connector($hostname) {
file {['/etc/eidas-connector','/var/log/eidas-connector']: ensure => directory } ->
sunet::docker_run {'eidas_connector':
image => 'docker.sunet.se/eidas-connector',
tag => '1.0.0',
ports => ['443:8443'],
volumes => ['/var/log/eidas-connector:/var/log/eidas-connector',
'/etc/eidas-connector:/etc/eidas-connector'],
env => ["IDP_LOG_CONSOLE=true",
"IDP_SERVER_HOSTNAME=$hostname",
"IDP_ENTITY_ID=https://$hostname/idp",
"SP_ENTITY_ID=https://$hostname/connector-sp"]
}
}
class sunetops {
# Allow hosts to configure sshd as needed
$sshd_config = $hostname ? {