mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 14:03:30 +00:00
This allows the Nagios user to access redis without having full access to the redis system. Ideally, this would eventually use a password that only has statistics read access, but I'm not sure redis supports that.
14 lines
333 B
Puppet
14 lines
333 B
Puppet
class zulip_ops::redis {
|
|
include zulip_ops::base
|
|
include zulip::redis
|
|
|
|
# Need redis_password in its own file for Nagios
|
|
file { '/var/lib/nagios/redis_password':
|
|
ensure => file,
|
|
mode => 600,
|
|
owner => "nagios",
|
|
group => "nagios",
|
|
content => "${zulip::redis::redis_password}\n",
|
|
}
|
|
}
|