changed eidas-test to prod environment
This commit is contained in:
parent
d76948bef9
commit
4a12d81e52
2 changed files with 3 additions and 2 deletions
|
@ -521,6 +521,7 @@ md-eu1.qa.komreg.net:
|
||||||
eidas_sp:
|
eidas_sp:
|
||||||
version: 1.0.0
|
version: 1.0.0
|
||||||
hostname: test.swedenconnect.se
|
hostname: test.swedenconnect.se
|
||||||
|
environment: prod
|
||||||
sunet::frontend::register_sites:
|
sunet::frontend::register_sites:
|
||||||
sites:
|
sites:
|
||||||
'test.swedenconnect.se':
|
'test.swedenconnect.se':
|
||||||
|
|
|
@ -250,7 +250,7 @@ class md_repo_server($hostname) {
|
||||||
ensure_resource('class','https_server',{})
|
ensure_resource('class','https_server',{})
|
||||||
}
|
}
|
||||||
|
|
||||||
class eidas_sp($version="1.0.0",$hostname='localhost') {
|
class eidas_sp($version="1.0.0",$hostname='localhost',$environment='qa') {
|
||||||
$_version = safe_hiera('eidas_sp_version',$version)
|
$_version = safe_hiera('eidas_sp_version',$version)
|
||||||
$_hostname = safe_hiera('eidas_sp_hostname',$hostname)
|
$_hostname = safe_hiera('eidas_sp_hostname',$hostname)
|
||||||
file {['/etc/eidas-sp','/var/log/eidas-sp','/etc/ssl']: ensure => directory } ->
|
file {['/etc/eidas-sp','/var/log/eidas-sp','/etc/ssl']: ensure => directory } ->
|
||||||
|
@ -266,7 +266,7 @@ class eidas_sp($version="1.0.0",$hostname='localhost') {
|
||||||
env => ["SERVER_SERVLET_CONTEXT_PATH=/",
|
env => ["SERVER_SERVLET_CONTEXT_PATH=/",
|
||||||
"SP_USE_SC_LOGO=false",
|
"SP_USE_SC_LOGO=false",
|
||||||
"SP_ENTITY_ID=https://$_hostname/sp",
|
"SP_ENTITY_ID=https://$_hostname/sp",
|
||||||
"SPRING_PROFILES_ACTIVE=qa",
|
"SPRING_PROFILES_ACTIVE=$environment",
|
||||||
"SP_BASE_URI=https://$_hostname"]
|
"SP_BASE_URI=https://$_hostname"]
|
||||||
}
|
}
|
||||||
ensure_resource('class','webserver',{})
|
ensure_resource('class','webserver',{})
|
||||||
|
|
Loading…
Add table
Reference in a new issue