first flush connector deployment descriptor
This commit is contained in:
parent
3c37580419
commit
8c6a20ffdb
1 changed files with 15 additions and 0 deletions
|
@ -197,6 +197,21 @@ class swamid_pyff_signer {
|
||||||
sunet::exabgp { 'swamid': }
|
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 {
|
class sunetops {
|
||||||
# Allow hosts to configure sshd as needed
|
# Allow hosts to configure sshd as needed
|
||||||
$sshd_config = $hostname ? {
|
$sshd_config = $hostname ? {
|
||||||
|
|
Loading…
Add table
Reference in a new issue