bf3b59b71c
This patch will configure the startup ordering dependency between the rc-local.service and rabbitmq-server.service. If not configured systemd will start both services simultaneously and it might cause the first boot execution to fail because rabbitmq-server wasn't up and running when the scripts are running. Before I8985d8020f94c257d426065cf914213b35ec959f this problem wasn't apparent because rabbitmq was manually restarted at the beginning of the first-boot.d/98-boot-stack script. Change-Id: Id86b43036f448262f241c04369191dfa253a6aeb |
||
---|---|---|
.. | ||
install.d | ||
os-config-applier/etc/rabbitmq | ||
os-refresh-config/post-configure.d | ||
README.md | ||
element-deps |
README.md
Install RabbitMQ server package and optionally configure it using Heat metadata.
Heat
We will create a random password and feed it to a Heat wait condition if directed by Metadata. The relevant Metadata would look something like this in Heat:
Metadata:
rabbit:
users:
- username: guest
- tags: administrator
password_handle: {Ref: RabbitMQPasswordHandle}
Using cfn-signal, we will feed back a generated password into the handle for use by other resources.