2020-10-29 19:53:17 +01:00
|
|
|
class zulip_ops::profile::redis inherits zulip_ops::profile::base {
|
2020-10-20 02:49:54 +02:00
|
|
|
include zulip::profile::redis
|
2022-05-03 20:51:01 +02:00
|
|
|
include zulip_ops::prometheus::redis
|
2016-08-01 05:24:55 +02:00
|
|
|
|
|
|
|
# Need redis_password in its own file for Nagios
|
|
|
|
file { '/var/lib/nagios/redis_password':
|
2018-08-13 21:20:34 +02:00
|
|
|
ensure => file,
|
|
|
|
mode => '0600',
|
2018-08-13 21:29:40 +02:00
|
|
|
owner => 'nagios',
|
|
|
|
group => 'nagios',
|
2020-10-29 19:53:17 +01:00
|
|
|
content => "${zulip::profile::redis::redis_password}\n",
|
2016-08-01 05:24:55 +02:00
|
|
|
}
|
2016-10-17 04:05:49 +02:00
|
|
|
}
|