Building our profile module

We wrote some code that defined our Jenkins server in the form of a profile at the beginning of this chapter. First, let's inspect the directory structure that we're working with for our already existing code:

profile/└── manifests    └── jenkins.pp

This is a pretty bare minimum profiles module, with a single manifest. We'll turn this simple module into a Git repository first:

[rary@workstation ~]# cd profile/[rary@workstation profile]# git initInitialized empty Git repository in ~/profile/.git/

If we run git status, we'll see that the manifests directory is checked in. Every file in this repository right now is new, so we'll need to add each file and check them into our first commit, often called the 'initial commit' ...

Get Mastering Puppet 5 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.