Skip to Main Content
Extending Puppet
book

Extending Puppet

by Alessandro Franceschi
June 2014
Intermediate to advanced content levelIntermediate to advanced
328 pages
7h 26m
English
Packt Publishing
Content preview from Extending Puppet

Git workflows

If we want to work and prosper with Git, we have to grasp its principles. There are theories and some alternatives on how we can manage our Puppet code with Git in a safe and comfortable way.

In this section, we will review:

  • Git's basic principles and commands
  • Some useful Git hooks
  • Two different workflows for Puppet code management with Git

Git's basic principles and commands

Git is generally available as a native package in every modern OS. Once we have installed it, we can configure our name and e-mail (that will appear in all our commits) with the following:

git config --global user.name "Alessandro Franceschi"
git config --global user.email al@lab42.it

These commands simply create the relevant entries in the ~/.gitconfig file. We can ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering Puppet

Mastering Puppet

Thomas Uphill
Learning Puppet

Learning Puppet

Chad Thompson
Pro Puppet

Pro Puppet

James Turnbull, Jeffrey McCune

Publisher Resources

ISBN: 9781783981441Supplemental Content