Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Mastering Puppet
  • Table Of Contents Toc
  • Feedback & Rating feedback
Mastering Puppet

Mastering Puppet

By : Thomas Uphill
3.9 (13)
close
close
Mastering Puppet

Mastering Puppet

3.9 (13)
By: Thomas Uphill

Overview of this book

Presented in an easy-to-follow, step-by-step tutorial format and packed with examples, this book will lead you through making the best out of Puppet in an enterprise environment. If you are a system administrator or developer who has used Puppet in production and are looking for ways to easily use Puppet in an enterprise environment, this book is for you. This book assumes an intermediate knowledge of Puppet and is intended for those writing modules or deploying Puppet in an enterprise environment.
Table of Contents (12 chapters)
close
close

Using GitHub for public modules

If you have a module you wish to use that is only hosted on GitHub, (github.com is an online Git service for sharing code using Git) a good way to keep your modules organized is to create a local Git repository and make the GitHub module a submodule of your modules.

We'll start by creating a new Git repository for our public modules:

git@worker1$ git init --bare --shared=group public.git
Initialized empty shared Git repository in /var/lib/git/public.git/

Tip

If your Git user still has git-shell set as its login shell from the previous chapter, change it back to bash, as shown in the following commands:

# chsh -s /bin/bash git
Changing shell for git.
Shell changed.

The first module we will download from GitHub is puppetdb, which is a module to install and configure puppetdb. This module is available at https://github.com/puppetlabs/puppetlabs-puppetdb.

With our public repository created, we will clone the repository in another location and create a Git submodule...

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Mastering Puppet
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon