Modules are how Puppet code is packaged either for internal use or to be shared. Explore the different components of what makes a module and what makes a good one.
- [Instructor] In this video, we'll talk … about Puppet modules. … A Puppet module is just a set of directories … that follow a certain pattern. … Puppet knows where to find specific files … within a module because of that pattern. … First, we have the manifest directory. … This is where you'd put your Puppet code. … Each class you write should have … its own manifest and the names … of the file and the class need to follow … a specific naming convention. … For the main class in a module, … the class should have the same name … as the module itself, and the file should … be manifest/init.pp. … For example, in the Puppet nginx module, … there's a class called nginx that's defined … in manifest/init.pp. … The files directory contains any static files … such as configuration files that you might want to use … with your module. … These should be small files. … If you need access to larger files such … as software package files, it's possible … to download those from other sources … without storing them inside your module. …
- What is Puppet?
- Setting up a Puppet master and control repo
- Using the built-in resource types
- Organizing code with roles and profiles
- Managing more nodes
- Triggering actions (orchestration)
- Gathering system info with facter
- Writing modules
- Using templates
Skill Level Beginner
DevOps Foundations: Infrastructure as Codewith Ernest Mueller2h 6m Intermediate
1. Puppet Overview
What is Puppet?4m 9s
2. Setting Up a Dev Environment
3. First Steps with Puppet
4. Managing More Nodes
Next steps3m 49s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.