Added RabbitMQ commands to sudo.yml.
diff --git a/linux/system/sudo.yml b/linux/system/sudo.yml
index a2c7822..ff03216 100644
--- a/linux/system/sudo.yml
+++ b/linux/system/sudo.yml
@@ -23,6 +23,10 @@
- /usr/sbin/visudo
sudo_coreutils_safe:
- /usr/bin/less
+ sudo_rabbitmq_safe:
+ - /usr/sbin/rabbitmqctl status
+ - /usr/sbin/rabbitmqctl cluster_status
+ - /usr/sbin/rabbitmqctl list_queues*
sudo_salt_safe:
- /usr/bin/salt * state*
- /usr/bin/salt * service*
diff --git a/openssh/server/team/l1_support.yml b/openssh/server/team/l1_support.yml
index 85e096a..e9b730f 100644
--- a/openssh/server/team/l1_support.yml
+++ b/openssh/server/team/l1_support.yml
@@ -34,6 +34,7 @@
command:
L1_SUPPORT_SALT: ${_param:sudo_salt_safe}
L1_SUPPORT_COREUTILS: ${_param:sudo_coreutils_safe}
+ L1_SUPPORT_RABBITMQ: ${_param:sudo_rabbitmq_safe}
L1_SUPPORT_SALT_TRUSTED: ${_param:sudo_salt_trusted}
L1_SUPPORT_RESTRICTED_SHELLS: ${_param:sudo_shells}
L1_SUPPORT_RESTRICTED: ${_param:sudo_restricted_su}
@@ -42,5 +43,6 @@
commands:
- L1_SUPPORT_SALT
- L1_SUPPORT_COREUTILS
+ - L1_SUPPORT_RABBITMQ
- '!L1_SUPPORT_RESTRICTED_SHELLS'
- '!L1_SUPPORT_RESTRICTED'