Commit cf8ca3a5 authored by Cool Fire's avatar Cool Fire
Browse files

Add info about the repo structure

parent 0ef09f45
Pipeline #619 passed with stages
in 8 minutes and 23 seconds
......@@ -5,9 +5,26 @@ Always work from your own fork of the repos. Fork them to your own namespace and
## Repository structures
This is the base repository, the `manifests`, `modules`, and `hieradata` repos need to be cloned inside this direcotry. If you do not have access to the `hieradata` repository, you can use the `hieradata-testing` repo instead.
This (librarian) is the base repository, the `manifests`, `modules`, and `hieradata` repos need to be cloned inside this direcotry. If you do not have access to the `hieradata` repository, you can use the `hieradata-testing` repo instead.
To ensure our puppet install can find our hieradata you need to create the file "hiera.yaml". We use the following config
After forking each of the projects in https://git.insomnia247.nl/puppet/ (After you log in and set up your ssh keys, click the project, then click "Fork".) you should clone them like so;
```
cd ~/my_projects_workspace
git clone ssh://git@git.insomnia247.nl:33/[YOUR_USER]/librarian.git puppet
cd puppet
git clone ssh://git@git.insomnia247.nl:33/[YOUR_USER]/manifests.git
git clone ssh://git@git.insomnia247.nl:33/[YOUR_USER]/modules.git
```
Then depending on if you're using the hieradata or the hieradata-testing repo;
```
git clone ssh://git@git.insomnia247.nl:33/[YOUR_USER]/hieradata.git
```
or
```
git clone ssh://git@git.insomnia247.nl:33/[YOUR_USER]/hieradata-testing.git hieradata
```
Finally, to ensure our puppet install can find our hieradata you need to create the file "hiera.yaml". We use the following config
```
---
version: 5
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment