From ea846236d6ad1fbb6791672236e9019066a488a8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Javier=20B=C3=A9rtoli?= Date: Mon, 19 Apr 2021 10:00:43 -0300 Subject: [PATCH] docs(provision): improve the documentation in the examples MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit refs #17246 Arvados-DCO-1.1-Signed-off-by: Javier Bértoli --- doc/install/salt-multi-host.html.textile.liquid | 8 ++++---- doc/install/salt-single-host.html.textile.liquid | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/doc/install/salt-multi-host.html.textile.liquid b/doc/install/salt-multi-host.html.textile.liquid index bb8cd0bdf4..5fbdc6a774 100644 --- a/doc/install/salt-multi-host.html.textile.liquid +++ b/doc/install/salt-multi-host.html.textile.liquid @@ -156,9 +156,9 @@ ssh user@host sudo ./provision.sh --config local.params --roles keepproxy,keepwe -#. Shell +#. Shell (here we copy the CLI test workflow too) -
scp -r provision.sh local* user@host:
+
scp -r provision.sh local* tests user@host:
 ssh user@host sudo ./provision.sh --config local.params --roles shell
 
@@ -183,11 +183,11 @@ Assuming you didn't change these values in the @local.params@ file, the initial h2(#test_install). Test the installed cluster running a simple workflow -The @provision.sh@ script saves a simple example test workflow in the @/tmp/cluster_tests@ directory in the node. If you want to run it, just ssh to the node, change to that directory and run: +If you followed the instructions above, the @provision.sh@ script saves a simple example test workflow in the @/tmp/cluster_tests@ directory in the @shell@ node. If you want to run it, just ssh to the node, change to that directory and run:
cd /tmp/cluster_tests
-./run-test.sh
+sudo /run-test.sh
 
diff --git a/doc/install/salt-single-host.html.textile.liquid b/doc/install/salt-single-host.html.textile.liquid index 8f9b00830d..5d7991c987 100644 --- a/doc/install/salt-single-host.html.textile.liquid +++ b/doc/install/salt-single-host.html.textile.liquid @@ -69,7 +69,7 @@ h2(#run_provision_script). Run the provision.sh script When you finished customizing the configuration, you are ready to copy the files to the host (if needed) and run the @provision.sh@ script: -
scp -r provision.sh local* user@host:
+
scp -r provision.sh local* tests user@host:
 ssh user@host sudo ./provision.sh
 
@@ -77,7 +77,7 @@ ssh user@host sudo ./provision.sh or, if you saved the @local.params@ in another directory or with some other name -
scp -r provision.sh local* user@host:
+
scp -r provision.sh local* tests user@host:
 ssh user@host sudo ./provision.sh -c /path/to/your/local.params.file
 
@@ -169,7 +169,7 @@ The @provision.sh@ script saves a simple example test workflow in the @/tmp/clus
cd /tmp/cluster_tests
-./run-test.sh
+sudo ./run-test.sh
 
-- 2.30.2