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
+50-75Lines changed: 50 additions & 75 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,11 +5,9 @@ Table of Contents
5
5
*[What You Get From This control\-repo](#what-you-get-from-this-control-repo)
6
6
*[Copy This Repo Into Your Own Git Server](#copy-this-repo-into-your-own-git-server)
7
7
*[GitLab](#gitlab)
8
-
*[Bitbucket/Stash](#Bitbucket/Stash)
8
+
*[Bitbucket/Stash](#bitbucketstash)
9
9
*[Github](#github)
10
10
11
-
Created by [gh-md-toc](https://github.com/ekalinin/github-markdown-toc.go)
12
-
13
11
# Where Did All The Previous Code Go?
14
12
15
13
Initially, the control-repo project began as a 'starter' template for anyone who wanted to get started with r10k. As time passed, and Code Manager was integrated into Puppet Enterprise, the scope of this project grew to include opinionated Puppet profiles to set up many Puppet Enterprise components. As the code increased, so did the complexity of the control-repo project. To reduce that complexity, as well as continuing to meet the needs of individuals who would like a more minimal template, this repository was stripped of anything other than the bare minimum files necessary to get started with a functioning
@@ -22,97 +20,74 @@ All of the code that was previously in this repository still exists in separate
22
20
This repository is a template control-repo that can be used with r10k or Puppet Enterprise Code Manager.
23
21
24
22
The major points are:
25
-
- An environment.conf that correctly implements:
26
-
- A site directory for roles, profiles, and any custom modules for your organization.
27
-
- A config_version script.
28
-
- Provided config_version scripts to output the commit of code that your agent just applied.
29
-
- Basic example of roles/profiles code.
30
-
- Example hieradata directory with pre-created common.yaml and nodes directory.
31
-
- These match the default hierarchy that ships with PE.
23
+
* An environment.conf that correctly implements:
24
+
* A site directory for roles, profiles, and any custom modules for your organization.
25
+
* A config_version script.
26
+
* Provided config_version scripts to output the commit of code that your agent just applied.
27
+
* Basic example of roles/profiles code.
28
+
* Example hieradata directory with pre-created common.yaml and nodes directory.
29
+
* These match the default hierarchy that ships with PE.
32
30
33
31
## Copy This Repo Into Your Own Git Server
34
32
35
33
### GitLab
36
34
37
35
1. Install GitLab.
38
-
-https://about.gitlab.com/downloads/
39
-
40
-
2. After GitLab is installed you may sign in with the `root` user and password `5iveL!fe`.
41
-
42
-
3. Make a user for yourself.
43
-
44
-
4. Make an SSH key to link with your user. You’ll want to do this on the machine you intend to edit code from (most likely not your Puppet master, but your local workstation or laptop).
5. Create a group called `puppet` (this is case sensitive).
49
-
-http://doc.gitlab.com/ce/workflow/groups.html
50
-
51
-
6. Add your user to the `puppet` group as well.
52
-
53
-
7. Create a project called `control-repo`, and set the Namespace to be the `puppet` group.
54
-
55
-
8. Clone this control repository to your laptop/workstation:
56
-
-`git clone <repository url>`
57
-
-`cd control-repo`
58
-
59
-
9. Remove this repository as the origin remote:
60
-
-`git remote remove origin`
61
-
62
-
10. Add your internal repository as the origin remote:
63
-
-`git remote add origin <url of your gitlab repository>`
64
-
65
-
11. Push the production branch of the repository from your machine up to your git server
66
-
-`git push origin production`
36
+
*<https://about.gitlab.com/downloads/>
37
+
1. After GitLab is installed you may sign in with the `root` user and password `5iveL!fe`.
38
+
1. Make a user for yourself.
39
+
1. Make an SSH key to link with your user. You’ll want to do this on the machine you intend to edit code from (most likely not your Puppet master, but your local workstation or laptop).
2. Create a repository called `control-repo` in your user account or organization. Ensure that "Initialize this repository with a README" is not selected.
1. Create a repository called `control-repo` in your user account or organization. Ensure that "Initialize this repository with a README" is not selected.
0 commit comments