You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+21-20Lines changed: 21 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ Our [Puppet Community Slack](http://slack.puppet.com) is a great way to interact
24
24
25
25
This control-repo and the steps below are intended to be used with a new installation of PE 2016.1.z.
26
26
27
-
**Warning:** When using an existing PE installation any existing code or modules in `/etc/puppetlabs/code` will be copied to a backup directory `/etc/puppetlabs/code_bak_<timestamp>` in order to allow deploying code from code manager.
27
+
**Warning:** When using an existing PE installation any existing code or modules in `/etc/puppetlabs/code` will be copied to a backup directory `/etc/puppetlabs/code_bak_<timestamp>` in order to allow deploying code from Code Manager.
28
28
29
29
# What you get from this control-repo
30
30
@@ -42,39 +42,40 @@ When you finish the instructions below, you will have the beginning of a best pr
42
42
43
43
### GitLab
44
44
45
-
1. On a new server, install GitLab
45
+
1. On a new server, install GitLab.
46
46
-https://about.gitlab.com/downloads/
47
47
48
-
2. After GitLab is installed you may sign into the web UI with the `root` user and password `5iveL!fe`
48
+
2. After GitLab is installed, sign into the web UI with the user `root`.
49
+
- The first time you visit the UI it will force you to enter a password for the `root` user.
49
50
50
-
2. In the GitLab UI, create a group called `puppet` ( this is case sensitive )
51
+
2. In the GitLab UI, create a group called `puppet`.
51
52
-http://doc.gitlab.com/ce/workflow/groups.html
52
53
53
-
3. In the GitLab UI, make a user for yourself
54
+
3. In the GitLab UI, make yourself a user to edit and push code.
54
55
55
-
4. From your laptop or development machine, make an SSH key to link with your user.
56
-
- Note: this is used for your laptop to communicate with your GitLab server to push code
56
+
4. From your laptop or development machine, make an SSH key and link it with your GitLab user.
57
+
- Note: The SSH key allows your laptop to communicate with the GitLab server and push code.
@@ -161,7 +162,7 @@ We will set up a deploy key in the Git server that will allow an SSH key we make
161
162
162
163
## Setup a webhook in your Git server
163
164
164
-
Independent of which Git server you choose you will grab the webhook URL from your master. Then each Git Server will have similar but slightly different ways to add the webhook.
165
+
Independent of which Git server you choose you will grab the webhook URL from your master. Then each Git Server will have similar but slightly different ways to add the webhook.
@@ -181,7 +182,7 @@ Independent of which Git server you choose you will grab the webhook URL from yo
181
182
182
183
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 the branch you just pushed.
183
184
184
-
1. On your Puppet Master, `tail -f /var/log/puppetlabs/puppetserver/puppetserver.log`
185
+
1. On your Puppet Master, `tail -f /var/log/puppetlabs/puppetserver/puppetserver.log`.
185
186
2. On your laptop in a separate terminal window:
186
187
- Add a new file
187
188
@@ -192,7 +193,7 @@ One of the components setup by this control-repo is that when you "push" code to
192
193
git push origin production
193
194
~~~
194
195
195
-
3. Allow the push to complete and then wait a few seconds for everything to sync over
196
-
- On your Puppet Master, `ls -l /etc/puppetlabs/code/environments/production`
196
+
3. Allow the push to complete and then wait a few seconds for everything to sync over.
197
+
- On your Puppet Master, `ls -l /etc/puppetlabs/code/environments/production`.
197
198
- Confirm test_file is present
198
-
4. In your first terminal window review the `puppetserver.log` to see the type of logging each sync will create
199
+
4. In your first terminal window review the `puppetserver.log` to see the type of logging each sync will create.
0 commit comments