Populate redis list
This commit is contained in:
parent
0d4634112d
commit
c3e1e9e70e
2 changed files with 5 additions and 0 deletions
|
@ -2,6 +2,7 @@
|
||||||
class eid::idm_app (
|
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'})
|
ensure_resource('sunet::misc::create_dir', '/opt/idm_app/config/', { owner => 'root', group => 'root', mode => '0750'})
|
||||||
file { '/opt/idm_app/config/idm.yml':
|
file { '/opt/idm_app/config/idm.yml':
|
||||||
content => template('eid/idm/idm.yml.erb'),
|
content => template('eid/idm/idm.yml.erb'),
|
||||||
|
|
|
@ -3,3 +3,7 @@ mariadb_cluster_nodes:
|
||||||
- 89.47.184.180
|
- 89.47.184.180
|
||||||
- 89.47.185.105
|
- 89.47.185.105
|
||||||
- 89.45.236.171
|
- 89.45.236.171
|
||||||
|
redis_cluster_nodes:
|
||||||
|
- 89.47.185.217
|
||||||
|
- 89.47.185.218
|
||||||
|
- 89.45.236.157
|
||||||
|
|
Loading…
Add table
Reference in a new issue