Sha256: b3c1480a11680317c6b8dc2151f0328949437a9fde120e3d4a880df38fdefa9c

Contents?: true

Size: 862 Bytes

Versions: 55

Compression:

Stored size: 862 Bytes

Contents

#!/bin/sh

${RABBITMQCTL:="sudo rabbitmqctl"}
${RABBITMQ_PLUGINS:="sudo rabbitmq-plugins"}

# guest:guest has full access to /

$RABBITMQCTL add_vhost /
$RABBITMQCTL add_user guest guest
$RABBITMQCTL set_permissions -p / guest ".*" ".*" ".*"


# bunny_gem:bunny_password has full access to bunny_testbed

$RABBITMQCTL add_vhost bunny_testbed
$RABBITMQCTL add_user bunny_gem bunny_password
$RABBITMQCTL set_permissions -p bunny_testbed bunny_gem ".*" ".*" ".*"


# guest:guest has full access to bunny_testbed

$RABBITMQCTL set_permissions -p bunny_testbed guest ".*" ".*" ".*"


# bunny_reader:reader_password has read access to bunny_testbed

$RABBITMQCTL add_user bunny_reader reader_password
$RABBITMQCTL set_permissions -p bunny_testbed bunny_reader "^---$" "^---$" ".*"

# requires RabbitMQ 3.0+
# $RABBITMQ_PLUGINS enable rabbitmq_consistent_hash_exchange

Version data entries

55 entries across 55 versions & 1 rubygems

Version Path
bunny-1.4.1 bin/ci/before_build.sh
bunny-1.4.0 bin/ci/before_build.sh
bunny-1.3.1 bin/ci/before_build.sh
bunny-1.3.0 bin/ci/before_build.sh
bunny-1.2.2 bin/ci/before_build.sh
bunny-1.2.1 bin/ci/before_build.sh
bunny-1.2.0 bin/ci/before_build.sh
bunny-1.1.9 bin/ci/before_build.sh
bunny-1.1.8 bin/ci/before_build.sh
bunny-1.1.7 bin/ci/before_build.sh
bunny-1.1.6 bin/ci/before_build.sh
bunny-1.1.5 bin/ci/before_build.sh
bunny-1.1.4 bin/ci/before_build.sh
bunny-1.1.3 bin/ci/before_build.sh
bunny-1.1.2 bin/ci/before_build.sh
bunny-1.1.1 bin/ci/before_build.sh
bunny-1.1.0 bin/ci/before_build.sh
bunny-1.1.0.rc1 bin/ci/before_build.sh
bunny-1.0.7 bin/ci/before_build.sh
bunny-1.0.6 bin/ci/before_build.sh