Fixed small README errors

This commit is contained in:
Tom Mast
2014-09-18 16:15:43 -05:00
parent b7217e197d
commit 53d368e5a9

View File

@@ -401,7 +401,7 @@ For the rest of this doc, you'll need to make the following substitutions:
NOTE: This should be more automated. Patches welcome. NOTE: This should be more automated. Patches welcome.
On SECUREHOST, create thew puppet master's keys: On SECUREHOST, create the puppet master's keys:
``` ```
$ mkdir /tmp/NEWMASTER $ mkdir /tmp/NEWMASTER
@@ -449,7 +449,7 @@ Command> save
Now securely export this directory to NEWMASTER: Now securely export this directory to NEWMASTER:
``` ```
$ gpg --homedir . --export -a svc_sadeploy >/tmp/NEWMACHINE/pubkey.txt $ gpg --homedir . --export -a svc_sadeploy >/tmp/NEWMASTER/pubkey.txt
$ tar cvf /tmp/keys.tar . $ tar cvf /tmp/keys.tar .
$ rsync -avP /tmp/keys.tar NEWMASTER:/tmp/. $ rsync -avP /tmp/keys.tar NEWMASTER:/tmp/.
``` ```
@@ -467,7 +467,7 @@ Back on SECUREHOST, import the pubkey into the repository.
``` ```
$ cd keyrings/live $ cd keyrings/live
$ gpg --homedir . --import /tmp/NEWMACHINE/pubkey.txt $ gpg --homedir . --import /tmp/NEWMASTER/pubkey.txt
``` ```
--> -->
@@ -508,7 +508,7 @@ On NEWMASTER, import the keys and decrypt the files:
sudo -u svc_sadeploy bash # Become the role account. sudo -u svc_sadeploy bash # Become the role account.
gpg --import /etc/puppet/keyrings/live/pubring.gpg gpg --import /etc/puppet/keyrings/live/pubring.gpg
export PATH=$PATH:/path/to/blackbox/bin export PATH=$PATH:/path/to/blackbox/bin
blackbox_postinstall blackbox_postdeploy
sudo -u puppet cat /etc/puppet/hieradata/blackbox.yaml # or any encrypted file. sudo -u puppet cat /etc/puppet/hieradata/blackbox.yaml # or any encrypted file.
``` ```