From a69d90084b06956b5476d379fcddb2b7415fdec5 Mon Sep 17 00:00:00 2001 From: Pedro Alvarez Date: Wed, 21 May 2014 17:56:32 +0100 Subject: Create the minion configuration in trove.configure Minions load its configuration from /etc/lorry-controller/minion.conf and the file wasn't been generated at deploy time. --- trove.configure | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/trove.configure b/trove.configure index cdd37b95..1851e38c 100755 --- a/trove.configure +++ b/trove.configure @@ -127,6 +127,17 @@ confgit-url = ssh://git@localhost/$TROVE_ID/local-config/lorries EOF +echo "Create MINION config" +cat < "$ROOT/etc/lorry-controller/minion.conf" +[config] +log = syslog +log-level = debug +webapp-host = localhost +webapp-port = 12765 +webapp-timeout = 3600 +EOF + + echo "Set up Lorry Controller MINIONs" UNITS="$ROOT/usr/lib/systemd/system" seq "${LORRY_CONTROLLER_MINIONS:-4}" | -- cgit v1.2.1