Small documentation fixes.
authorWard Vandewege <wvandewege@veritasgenetics.com>
Fri, 12 Oct 2018 19:53:37 +0000 (15:53 -0400)
committerWard Vandewege <wvandewege@veritasgenetics.com>
Mon, 15 Oct 2018 19:43:54 +0000 (15:43 -0400)
No issue #

Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <wvandewege@veritasgenetics.com>

doc/_includes/_create_superuser_token.liquid [new file with mode: 0644]
doc/install/crunch2-slurm/install-dispatch.html.textile.liquid
doc/install/install-keep-balance.html.textile.liquid
doc/install/install-keepproxy.html.textile.liquid
doc/install/install-keepstore.html.textile.liquid

diff --git a/doc/_includes/_create_superuser_token.liquid b/doc/_includes/_create_superuser_token.liquid
new file mode 100644 (file)
index 0000000..07d8a4a
--- /dev/null
@@ -0,0 +1,14 @@
+{% comment %}
+Copyright (C) The Arvados Authors. All rights reserved.
+
+SPDX-License-Identifier: CC-BY-SA-3.0
+{% endcomment %}
+
+On the <strong>API server</strong>, use the following commands:
+
+<notextile>
+<pre><code>~$ <span class="userinput">cd /var/www/arvados-api/current</span>
+$ <span class="userinput">sudo -u <b>webserver-user</b> RAILS_ENV=production bundle exec script/create_superuser_token.rb</span>
+zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
+</code></pre>
+</notextile>
index 4b3f4ec0b01fe016def2d2dbaf7e92e95b04787f..cd338296b3f4170ebe04879796ffb8171c9bcae4 100644 (file)
@@ -33,14 +33,9 @@ On Debian-based systems:
 
 h2. Create a dispatcher token
 
-Create an Arvados superuser token for use by the dispatcher. If you have multiple dispatch processes, you should give each one a different token.  *On the API server*, run:
+Create an Arvados superuser token for use by the dispatcher. If you have multiple dispatch processes, you should give each one a different token.
 
-<notextile>
-<pre><code>apiserver:~$ <span class="userinput">cd /var/www/arvados-api/current</span>
-apiserver:/var/www/arvados-api/current$ <span class="userinput">sudo -u <b>webserver-user</b> RAILS_ENV=production bundle exec script/create_superuser_token.rb</span>
-zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
-</code></pre>
-</notextile>
+{% include 'create_superuser_token' %}
 
 h2. Configure the dispatcher
 
index 3a8dce078dd092bfe687639f912415b2553bf14c..1adda3cbbc22375a0417f6aeb5294111150838e3 100644 (file)
@@ -55,7 +55,7 @@ Options:
 
 h3. Create a keep-balance token
 
-Create an Arvados superuser token for use by keep-balance. *On the API server*, run:
+Create an Arvados superuser token for use by keep-balance.
 
 {% include 'create_superuser_token' %}
 
index 9f580c0f8b2af0f0244c1ae1570c4346d33cd6ac..0a47eba1bdf02b18ff3a2f9325ed8f1c583af5ac 100644 (file)
@@ -105,7 +105,7 @@ h3. Tell the API server about the Keepproxy server
 
 The API server needs to be informed about the presence of your Keepproxy server.
 
-First, if you don't already have an admin token, create a superuser token:
+First, if you don't already have an admin token, create a superuser token.
 
 {% include 'create_superuser_token' %}
 
index 943c9bae36b1c7e2358a83f9636bb3eb3ddf3cd3..80fb7fe788fadfdaa3879f25af77846845f250a7 100644 (file)
@@ -200,7 +200,7 @@ h3. Tell the API server about the Keepstore servers
 
 The API server needs to be informed about the presence of your Keepstore servers.
 
-First, if you don't already have an admin token, create a superuser token:
+First, if you don't already have an admin token, create a superuser token.
 
 {% include 'create_superuser_token' %}