Puppet 4: Working with Files and Templates

Pluralsight
Course Summary
In this course, you will learn how to refactor your Puppet code to make use of templates, reduce the required files for a module, as well as how you can deliver parts of files, files, or complete sub-directories with Puppet.
-
+
Course Description
There are many scenarios where adding functionality to your Puppet modules can make your work easier. In this course, Puppet 4: Working with Files and Templates, you'll learn how to make use of templates in your Puppet code and how you can deliver files with Puppet. First, you'll see how easily you can reduce the number of files a module requires by making use of variable data and templates. The original template language was Ruby, but now with Puppet 4 you can support both Ruby and Puppet templates. Next, you'll look at ways to deliver files and parts of files. Finally, you'll learn how you can deliver a complete folder structure if required, purging any unmanaged content using file\-line while concat delivers single lines or fragments of files allowing for autonomous edits to the managed files. By the end of the course, you will be able to create Puppet modules delivering configurations using templates, as well as allowing autonomous edits using file fragments.
-
+
Course Syllabus
Course Overview- 1m 39s
—Course Overview 1m 39sPuppet File and Template Tools- 15m 47s
—What Does File and Template Tools Mean? 5m 16s
—Re-factoring the Working NTP Module 8m 12s
—Summary and What's Next 2m 18sUsing Puppet Templates- 21m 6sWorking with ERB Templates- 46m 14sWorking with EPP Templates- 26m 18sDelivering Files with Puppet- 36m 10sEnsure Content Using File_Line- 28m 23sDelivery of File Parts with Concat- 11m 38s