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…
Author
Released
11/13/2017- 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
Duration
Views
Related Courses
-
DevOps Foundations
with Ernest Mueller2h 53m Beginner -
DevOps Foundations: Infrastructure Automation
with Ernest Mueller2h 6m Intermediate -
Learning Docker
with Arthur Ulfeldt2h 19m Intermediate
-
Introduction
-
Welcome1m 22s
-
-
1. Puppet Overview
-
What is Puppet?4m 9s
-
-
2. Setting Up a Dev Environment
-
Set up a Puppet master6m 21s
-
Version control2m 46s
-
Set up a control repo5m 32s
-
-
3. First Steps with Puppet
-
Built-in resource types2m 16s
-
Manage a file in site.pp5m 39s
-
Classes1m 38s
-
Roles and profiles1m 33s
-
Roles and profiles demo5m 57s
-
-
4. Managing More Nodes
-
Manage more nodes3m 2s
-
Specify nodes in site.pp3m 54s
-
Orchestration in Puppet3m 14s
-
Understand the Puppet run1m 34s
-
Facter5m 5s
-
-
5. Modules
-
What is a module?4m 25s
-
Get the order right3m 35s
-
Use parameters3m 44s
-
Templates3m 39s
-
-
Conclusion
-
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.
CancelTake 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.
Share this video
Embed this video
Video: Write modules: Write manually