summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2014-05-22 10:19:59 +0100
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2014-05-22 10:19:59 +0100
commit7e8d2e55eb3fe27081c2e53e15cf83ec39c8f223 (patch)
tree1985496eea9bc4b331c789199d0c2de8f6bb7dda
parent47f8006f6c1635d8b1af216b65e4a99a707caa66 (diff)
parenta69d90084b06956b5476d379fcddb2b7415fdec5 (diff)
downloaddefinitions-7e8d2e55eb3fe27081c2e53e15cf83ec39c8f223.tar.gz
Merge branch 'baserock/pedroalvarez/minion-conf'
Reviewed-by: Sam Thursfield Reviewed-by: Adam Coldrick
-rwxr-xr-xtrove.configure11
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}" |