diff options
author | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2014-05-21 17:56:32 +0100 |
---|---|---|
committer | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2014-05-21 17:56:32 +0100 |
commit | a69d90084b06956b5476d379fcddb2b7415fdec5 (patch) | |
tree | 1985496eea9bc4b331c789199d0c2de8f6bb7dda /trove.configure | |
parent | 47f8006f6c1635d8b1af216b65e4a99a707caa66 (diff) | |
download | definitions-a69d90084b06956b5476d379fcddb2b7415fdec5.tar.gz |
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.
Diffstat (limited to 'trove.configure')
-rwxr-xr-x | trove.configure | 11 |
1 files changed, 11 insertions, 0 deletions
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 <<EOF > "$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}" | |