basho / riak

Riak is a decentralized datastore from Basho Technologies.
http://docs.basho.com
Apache License 2.0
3.93k stars 534 forks source link

Fix devrel generation and output-dir / overlay_vars #977

Closed martincox closed 5 years ago

martincox commented 5 years ago

This fixes the manual devrel generation by getting output-dir and overlay_vars working correctly.

output-dir is fixed by making the rebar3_cuttlefish plugin aware of the -o or --output-dir switches - previously it wasn't, so the default conf generation (riak.conf) was placed in the normal output directory underneath the profile directory.

overlay_vars seems to have some kind of bug in rebar3, so I've moved the overlay_vars from the default relx release in rebar.config into profiles - prod and dev.