Populate redis list

This commit is contained in:
Johan Wassberg 2024-02-26 11:38:55 +01:00
parent 0d4634112d
commit c3e1e9e70e
Signed by: jocar
GPG key ID: BE4EC2EEADF2C31B
2 changed files with 5 additions and 0 deletions

View file

@ -2,6 +2,7 @@
class eid::idm_app (
) {
$redises = lookup('redis_cluster_nodes', undef, undef, [])
ensure_resource('sunet::misc::create_dir', '/opt/idm_app/config/', { owner => 'root', group => 'root', mode => '0750'})
file { '/opt/idm_app/config/idm.yml':
content => template('eid/idm/idm.yml.erb'),

View file

@ -3,3 +3,7 @@ mariadb_cluster_nodes:
- 89.47.184.180
- 89.47.185.105
- 89.45.236.171
redis_cluster_nodes:
- 89.47.185.217
- 89.47.185.218
- 89.45.236.157