2024-02-15 11:21:53 +01:00
|
|
|
# idm_redis
|
|
|
|
class eid::idm_redis (
|
|
|
|
) {
|
|
|
|
|
|
|
|
class { 'sunet::rediscluster':
|
2024-02-16 12:59:32 +01:00
|
|
|
numnodes => 2,
|
|
|
|
hostmode => true,
|
|
|
|
tls => true,
|
|
|
|
automatic_rectify => true,
|
2024-02-15 11:21:53 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
file { "/etc/ssl/certs/${facts['networking']['fqdn']}_infra.crt":
|
|
|
|
mode => '0644',
|
|
|
|
}
|
|
|
|
|
2024-02-15 11:45:34 +01:00
|
|
|
file { "/etc/ssl/private/${facts['networking']['fqdn']}_infra.key":
|
|
|
|
mode => '0644',
|
|
|
|
}
|
|
|
|
|
2024-02-15 11:21:53 +01:00
|
|
|
file { '/etc/ssl/private':
|
|
|
|
mode => '0711',
|
|
|
|
}
|
|
|
|
|
|
|
|
package { ['redis-tools']:
|
|
|
|
ensure => installed,
|
|
|
|
}
|
|
|
|
}
|