From the course: Learning Puppet (2017)
Unlock the full course today
Join today to access over 22,400 courses taught by industry experts or purchase this course individually.
Version control - Puppet Tutorial
From the course: Learning Puppet (2017)
Version control
- [Instructor] In this section, we'll be talking about version control and how to use it with Puppet. Version control software allows you to track changes in a set of files over time. It's widely used in software development and is becoming very common, even in pure ops teams. Puppet defines your infrastructure as code, so we can use version control to track those changes. If you were going to try to keep track of changes in a set of files, you might first make a backup copy of the entire directory. That way, if you needed to compare the original or revert some changes, you'd be sure you have a copy. The problem is, it's difficult to keep track of a lot of changes this way, and, as you work, you'll need to keep making copies of your documents, which leads to a lot of waste. And if you wanted to collaborate on a document with colleagues, this way of doing it becomes pretty difficult. Version control solves this problem by offering a way to track every change that's made. We'll be using…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.