eidastest controller manifest

This commit is contained in:
Leif Johansson 2019-03-22 09:08:48 +01:00
parent 348ca65ecd
commit 966b81d446

View file

@ -380,6 +380,22 @@ class test_my_eid($version="1.0.1",$hostname='localhost',$environment='qa') {
ensure_resource('class','https_server',{})
}
class eidastest_controller($version="1.0.0", $hostname="locahost") {
$_version = safe_hiera('eidastest_controller_version',$version)
$_hostname = safe_hiera('eidastest_controller_hostname',$hostname)
sunet::docker_run {'eidastest':
image => 'docker.sunet.se/eidastest-controller',
imagetag => $_version,
hostname => "${::fqdn}",
ports => ['443:8443'],
volumes => ['/dev/log:/dev/log',
'/etc/ssl:/etc/ssl'],
extra_parameters => ["--log-driver=syslog"]
}
ensure_resource('class','webserver',{})
ensure_resource('class','https_server',{})
}
class swedenconnect_refidp($version="1.0.3",$hostname='localhost') {
$_version = safe_hiera('swedenconnect_refidp_version',$version)
$_hostname = safe_hiera('swedenconnect_refidp_hostname',$hostname)