command:
  redis-sentinel-auth:
    exec: REDISCLI_AUTH="$REDIS_PASSWORD" redis-cli -h redis -p 26379
    exit-status: 0
    stderr: [ ]
    timeout: 20000 
  redis-sentinel-no-password:
    exec: redis-cli SADD testmember "test set"
    exit-status: 0
    stdout:
      - 'NOAUTH Authentication required'
    stderr: [ ]
    timeout: 20000 
  redis-sentinel-whoami:
    exec: REDISCLI_AUTH="$REDIS_PASSWORD" redis-cli ACL WHOAMI
    exit-status: 0
    stdout:
      - "default"
    stderr: [ ]
    timeout: 20000
  redis-sentinel-whoami:
    exec: REDISCLI_AUTH="$REDIS_PASSWORD" redis-cli -h redis -p 26379 SENTINEL MYID
    exit-status: 0
    stderr: [ ]
    timeout: 20000
  redis-sentinel-failover:
    exec: REDISCLI_AUTH="$REDIS_PASSWORD" redis-cli -h redis -p 26379 SENTINEL FAILOVER mymaster 
    exit-status: 0
    stdout:
      - "OK"
    stderr: [ ]
    timeout: 20000  
  redis-sentinel-checkquorum:
    exec: REDISCLI_AUTH="$REDIS_PASSWORD" redis-cli -h redis -p 26379 SENTINEL CKQUORUM mymaster
    exit-status: 0
    stdout:
      - "OK 3 usable Sentinels. Quorum and failover authorization can be reached"
    stderr: [ ]
    timeout: 20000                                                                
file:
  /bitnami/redis/data:
    filetype: directory
    exists: true
file:
  /opt/bitnami/redis/mounted-etc/sentinel.conf:
    exists: true
    mode: "0777"
    filetype: symlink
    contains:
      - sentinel monitor mymaster redis-node-0
      - sentinel parallel-syncs mymaster 1
