CORD-654 configure MAAS via ansible module
Change-Id: I9f1b3b83b41d2cf1e87660d4a50fd3267ad1679a
diff --git a/roles/head-node/files/commands/cord b/roles/head-node/files/commands/cord
index 0d63dc8..9f675d5 100755
--- a/roles/head-node/files/commands/cord
+++ b/roles/head-node/files/commands/cord
@@ -16,7 +16,7 @@
for CMD in $ALL_FILES; do
test -x "$CMD" && COMMANDS="$COMMANDS $CMD"
done
-
+
# Process comands for usage information
# Output all commands and their help information to file
# so it can be sorted. The format will be:
diff --git a/roles/head-node/files/commands/cord-harvest b/roles/head-node/files/commands/cord-harvest
index fd43182..8cabd11 100755
--- a/roles/head-node/files/commands/cord-harvest
+++ b/roles/head-node/files/commands/cord-harvest
@@ -50,7 +50,7 @@
fi
;;
check)
- RUNNING=$($SSH_OPT docker inspect --format="'{{ .State.Running }}'" harvester)
+ RUNNING=$($SSH_OPT docker inspect --format="'{{ .State.Running }}'" harvester)
if [ $? -ne 0 ]; then
>&2 echo "Unable to execute docker or locate harvester container, if not running on the head node please specify the server address"
exit 1
@@ -112,4 +112,4 @@
exit 1
;;
esac
-
+