It removes the necessity to run the cron task as root user
and ensure the content created in /var/lib/rabbitmq belongs
to rabbitmq user and group solely.
Then giving access for nrpe user is done by adding its user
to rabbitmq group.
Also implemented in the upgrade-charm hook for ongoing
deployments
Reviewed: https:/ /review. opendev. org/c/openstack /charm- rabbitmq- server/ +/860309 /opendev. org/openstack/ charm-rabbitmq- server/ commit/ c9efea67c8fe1ae c32dc3bebe9853f 41e4e23100
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit c9efea67c8fe1ae c32dc3bebe9853f 41e4e23100
Author: Olivier Dufour-Cuvillier <email address hidden>
Date: Wed Oct 5 00:03:29 2022 +0900
Allow NRPE to collect stats in CIS hardened env
It removes the necessity to run the cron task as root user
and ensure the content created in /var/lib/rabbitmq belongs
to rabbitmq user and group solely.
Then giving access for nrpe user is done by adding its user
to rabbitmq group.
Also implemented in the upgrade-charm hook for ongoing
deployments
Closes-Bug: #1879524 69451ca40a20d21 cef1aec6a95
Change-Id: I19e3d675ace7c6