summaryrefslogtreecommitdiff
path: root/erlang.mk
diff options
context:
space:
mode:
authorJean-Sébastien Pédron <jean-sebastien@rabbitmq.com>2020-03-16 17:00:02 +0100
committerJean-Sébastien Pédron <jean-sebastien@rabbitmq.com>2020-04-23 17:33:45 +0200
commit7edfe2292c3c59a8e03e37574b89a00708ae1bf8 (patch)
tree472980b0adac31a6dbf80b1fc5f49a0af4c82e4f /erlang.mk
parentc9e9509846b85ce63f0588b937e7e01cdbd45df9 (diff)
downloadrabbitmq-server-git-7edfe2292c3c59a8e03e37574b89a00708ae1bf8.tar.gz
rabbit_prelaunch_conf: Always handle config. files with Cuttlefish
This has several benefits: 1. It simplifies the code, all configuration being handled by the same code path (no more condition on Erlang-term-based vs. Cuttlefish). `rabbit_config` shrinks quite a lot in the process. 2. We can use additional configuration files AND an Erlang-term-based configuration file. In other words, it is possible to use the same existing Erlang-term-based file and introduce Cuttlefish files when needed. It allows a user to run RabbitMQ with: RABBITMQ_CONFIG_FILE=/path/to/rabbitmq.config \ RABBITMQ_CONFIG_FILES=/path/to/conf.d/*.conf \ ./sbin/rabbitmq-server A developer can do the same with `make run-broker`: make run-broker \ RABBITMQ_CONFIG_FILES=/path/to/conf.d/*.conf In the example above, the main configuration file generated by rabbitmq-run.mk is an Erlang-term-based one. This is implemented by calling Cuttlefish with a (possibly empty) list of additional files and the Erlang-term-based file as the advanced configuration file. References #2180.
Diffstat (limited to 'erlang.mk')
0 files changed, 0 insertions, 0 deletions