Skip to content

Commit 08bfb2c

Browse files
ewittignpwalker
authored andcommitted
Update README.md (#4)
Add step to create ssh directory and clarify "Test Code Manager" steps.
1 parent 6ea569b commit 08bfb2c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ At this point you have our control-repo code deployed into your Git server. How
106106
We will set up a deploy key in the Git server that will allow an SSH key we make to deploy the code and configure everything else.
107107

108108
1. On your Puppet master, make an SSH key for r10k to connect to GitLab
109+
- `mkdir /etc/puppetlabs/puppetserver/ssh`
109110
- `/usr/bin/ssh-keygen -t rsa -b 2048 -C 'code_manager' -f /etc/puppetlabs/puppetserver/ssh/id-control_repo.rsa -q -N ''`
110111
- `cat /etc/puppetlabs/puppetserver/ssh/id-control_repo.rsa.pub`
111112
- References:
@@ -176,13 +177,13 @@ Independent of which Git server you choose you will grab the webhook URL from yo
176177
177178
One of the components setup by this control-repo is that when you "push" code to your Git server, the git server will inform the Puppet master to deploy branch you just pushed.
178179
179-
1. In one terminal window, `tail -f /var/log/puppetlabs/puppetserver/puppetserver.log`
180-
2. In a second terminal window
180+
1. On your Puppet Master, `tail -f /var/log/puppetlabs/puppetserver/puppetserver.log`
181+
2. On your laptop in a separate terminal window:
181182
- Add a new file, `touch test_file`
182183
- `git add test_file`
183184
- `git commit -m "adding a test_file"`
184185
- `git push origin production`
185186
3. Allow the push to complete and then wait a few seconds for everything to sync over
186-
- `ls -l /etc/puppetlabs/code/environments/production`
187+
- On your Puppet Master, `ls -l /etc/puppetlabs/code/environments/production`
187188
- Confirm test_file is present
188189
4. In your first terminal window review the `puppetserver.log` to see the type of logging each sync will create

0 commit comments

Comments
 (0)