Repository: mesos
Updated Branches:
  refs/heads/master 84778eeee -> 0e5680c51


Updated the authentication.md to use absolute paths.

Previous sample paths (~/credentials) caused issues when used from the
command line.

Review: https://reviews.apache.org/r/45895/


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/579e772b
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/579e772b
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/579e772b

Branch: refs/heads/master
Commit: 579e772b536450c98270003444264f732e86964c
Parents: 84778ee
Author: Joerg Schad <jo...@mesosphere.io>
Authored: Sun Apr 10 01:38:04 2016 -0700
Committer: Adam B <a...@mesosphere.io>
Committed: Sun Apr 10 01:42:10 2016 -0700

----------------------------------------------------------------------
 docs/authentication.md | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/579e772b/docs/authentication.md
----------------------------------------------------------------------
diff --git a/docs/authentication.md b/docs/authentication.md
index dfdd28c..1084e63 100644
--- a/docs/authentication.md
+++ b/docs/authentication.md
@@ -118,11 +118,11 @@ the `Credential.principal` into `FrameworkInfo.principal` 
when registering.
           ]
         }
 
-2. Start the master using the credentials file (assuming the file is 
`~/credentials`):
+2. Start the master using the credentials file (assuming the file is 
`/home/user/credentials`):
 
-        ./bin/mesos-master.sh --ip=127.0.0.1 --work_dir=/var/lib/mesos 
--authenticate --authenticate_slaves --credentials=~/credentials
+        ./bin/mesos-master.sh --ip=127.0.0.1 --work_dir=/var/lib/mesos 
--authenticate --authenticate_slaves --credentials=/home/user/credentials
 
-3. Create another file with a single credential in it (`~/slave_credential`):
+3. Create another file with a single credential in it 
(`/home/user/slave_credential`):
 
         {
           "principal": "principal1",
@@ -131,7 +131,7 @@ the `Credential.principal` into `FrameworkInfo.principal` 
when registering.
 
 4. Start the slave:
 
-        ./bin/mesos-slave.sh --master=127.0.0.1:5050 
--credential=~/slave_credential
+        ./bin/mesos-slave.sh --master=127.0.0.1:5050 
--credential=/home/user/slave_credential
 
 5. Your new slave should have now successfully authenticated with the master.
 

Reply via email to