Puppet 4: Working with Modules and Classes

Puppet is and has been the de-facto configuration management in Linux and Unix systems, and with Puppet 4, it is even bigger and stronger. This course teaches you how to create the best streamlined Puppet code onto Classes and Modules.
Course info
Rating
(17)
Level
Intermediate
Updated
Aug 18, 2016
Duration
3h 13m
Table of contents
Description
Course info
Rating
(17)
Level
Intermediate
Updated
Aug 18, 2016
Duration
3h 13m
Description

Organizing your code into modules and classes will make it more usable and maintainable, which will make you more employable. In this course, Puppet 4: Working with Modules and Classes, you'll learn how to organize your code better than ever before. First, you'll learn to transform an NTP manifest into a more usable application, in the form of a module containing classes and defined types. You'll also learn how to create code once and reuse it. Finally, you'll discover how to validate input to parameterized classes. By the end of this course, you'll know how to refactor monolithic, flat Puppet manifests into streamlined modules.

About the author
About the author

Andrew is a committed evangelist of the Linux Operating System and the concept of community and freedom that it provides. He has worked as a technical trainer since 1995 and has taught throughout the world, including Australia, the US, Germany and Eastern Europe. Andrew started teaching Linux in 2004 when Novell acquired SUSE and has been a long time supporter of Novell and provides SYSOP support the the Certifed Novell Instructor community on Linux. Andrew founded theurbanpenguin and has been submitting video training material to his YouTube channel since 2009 and currently has over 8,500 subscribers and 1.6 Million views. Andrew has had two publications with Packt: Citrix Access Gateway VPX Essentials (2012) and Citrix XenApp (2013).

More from the author
Linux: System Security (LPIC-2)
Intermediate
3h 6m
Mar 7, 2018
Linux: Email Services (LPIC-2)
Intermediate
2h 21m
Feb 20, 2018
Linux: Network Client Management (LPIC-2)
Intermediate
3h 53m
Jan 11, 2018
More courses by Andrew Mallett
Section Introduction Transcripts
Section Introduction Transcripts

Course Overview
Hello everyone, and welcome. My name is Andrew Mallet, but you might know me as The Urban Penguin. I do hope you're ready for my second Puppet course. You know that I work in the UK and I have my own Linux training and consultancy company, and Puppet has always been my configuration tool of choice as it is also for 8 out of 10 penguin owners who expressed a preference. I started using Puppet seriously about seven or eight years ago. I used it to complete classroom setups, and I'm still using it today. In this course, we're going to learn how you can streamline your code by creating modules, making it easier to maintain and use. We're going to continue with our ntp theme from the Language Essentials course, and we're going to look at how we can break our code into classes and modules. And we'll be taking a look at the module structure, looking at ways that we can create and declare classes, both with and without parameters, and we'll be looking at creating custom resource types in Ruby. Now by the end of this course you're going to be able to create your own modules containing multiple classes, and have the flexibility of being able to take input at run time. Now you are going to need some basic knowledge of Linux and a good understanding of the Puppet language, which you can gain by taking a look at our Puppet 4: Language Essentials course.