2020-10-20 04:44:58 +02:00
|
|
|
class zulip_ops::profile::redis {
|
|
|
|
include zulip_ops::profile::base
|
2020-10-20 02:49:54 +02:00
|
|
|
include zulip::profile::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',
|
2018-08-13 21:20:34 +02:00
|
|
|
content => "${zulip::redis::redis_password}\n",
|
2016-08-01 05:24:55 +02:00
|
|
|
}
|
2016-10-17 04:05:49 +02:00
|
|
|
}
|