Learn how to write your own module by following the simple example of managing a Minecraft server using Puppet.
- [Instructor] Now that we've seen…how modules are structured,…we're going to write a simple module…for managing Minecraft servers.…We'll follow an iterative approach,…which is generally how Puppet modules are developed.…First, the module will be mostly in a single script…and we'll expand from there.…Before creating a module, you should start by thinking about…the problem you want to solve.…In this case, I'd like to create a module…that will download and install a Minecraft server…and set up some of the basic config files…needed to run the server.…Later, we'll add more functions to this module,…but this is enough for the first draft.…
If you're working with an unfamiliar software package,…it's sometimes easier to set things up by hand first…to learn how to Puppetize it.…As you go, you can make note of each of the steps.…Let's set up a disposable node that we can use for that.…Just add another docker agent node resource…to the profile agent node class.…I'm going to head over to GitHub and do that.…We'll find the profile agent nodes class…
- 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.