Files
zulip/puppet/zulip_ops/manifests/redis.pp
Tim Abbott 1c453fdf2a puppet: Add redis_password file for Nagios.
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.
2017-10-05 20:42:07 -07:00

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",
}
}