control connector version from hiera or rules
This commit is contained in:
parent
5ebeb8545a
commit
da640901da
2 changed files with 4 additions and 2 deletions
|
@ -31,6 +31,7 @@ r1.komreg.net:
|
|||
sunet_iaas_cloud:
|
||||
autoupdate:
|
||||
eidas_connector:
|
||||
version: 1.0.5
|
||||
sunet::frontend::register_sites:
|
||||
sites:
|
||||
'eunode.qa.sveidas.se':
|
||||
|
|
|
@ -163,7 +163,8 @@ class swamid_pyff_signer {
|
|||
sunet::exabgp { 'swamid': }
|
||||
}
|
||||
|
||||
class eidas_connector {
|
||||
class eidas_connector($version="1.0.5") {
|
||||
$_version = safe_hiera('eidas_connector_version',$version)
|
||||
$hostname = safe_hiera('eidas_connector_hostname')
|
||||
$prid_service = safe_hiera('eidas_prid_service')
|
||||
$idp_fticks_salt = safe_hiera('idp_fticks_salt',NOT_SET);
|
||||
|
@ -204,7 +205,7 @@ class eidas_connector {
|
|||
} ->
|
||||
sunet::docker_run {'eidas_connector':
|
||||
image => 'docker.sunet.se/eidas-connector',
|
||||
imagetag => '1.0.4',
|
||||
imagetag => $_version,
|
||||
ports => ['443:8443'],
|
||||
volumes => ['/var/log/eidas-connector:/var/log/eidas-connector',
|
||||
'/etc/eidas-connector:/etc/eidas-connector'],
|
||||
|
|
Loading…
Add table
Reference in a new issue