- manage redis/sentinel clusters - ensure ulimit_managed is false - dynamically find servers in role to identify master - add redisadm and sentineladm commands - add script to check if the current host in the master
3 lines
100 B
Plaintext
3 lines
100 B
Plaintext
#!/usr/bin/bash
|
|
sudo /usr/local/sbin/sentineladm info | grep -q <%= @facts['networking']['fqdn'] %>
|