Get config from hiera

This commit is contained in:
Johan Wassberg 2024-01-22 10:21:56 +01:00
parent 2caddfe2e8
commit 634e6398c7
Signed by: jocar
GPG key ID: BE4EC2EEADF2C31B
3 changed files with 5 additions and 14 deletions
global/overlay/etc/puppet
cosmos-rules.yaml
modules/eid/manifests
idm-test-common/overlay/etc/hiera/data

View file

@ -1180,25 +1180,13 @@ idm-sto1-test-db-1\.komreg\.net:
autoupdate:
sunet::dockerhost2:
eid::idm_db:
cluster_nodes:
- 89.47.184.180
- 89.47.185.105
- 89.45.236.171
idm-sto1-test-db-2\.komreg\.net:
autoupdate:
sunet::dockerhost2:
eid::idm_db:
cluster_nodes:
- 89.47.184.180
- 89.47.185.105
- 89.45.236.171
idm-sto3-test-db-3\.komreg\.net:
autoupdate:
sunet::dockerhost2:
eid::idm_db:
cluster_nodes:
- 89.47.184.180
- 89.47.185.105
- 89.45.236.171

View file

@ -1,9 +1,7 @@
# idm_db
class eid::idm_db (
Array $cluster_nodes,
) {
sunet::mariadb { 'idm_db':
cluster_nodes => $cluster_nodes,
}
}

View file

@ -0,0 +1,5 @@
#mariadb_clients=[]
mariadb_cluster_nodes:
- 89.47.184.180
- 89.47.185.105
- 89.45.236.171