Since you're using r10k you need to add the module to your Puppetfile. Look at how to find module dependencies and go through adding the module to the Puppetfile using the GitHub editor.
- [Josh] Jump over to your control_repo in GitHub … and click create new file. … We'll give the file the name Puppetfile with a capital P. … And then for the content, … we'll just enter the module we'll be using … and any dependencies. … And you can copy paste from the Forge … so that you've got the right syntax, … but I'm just going to type them out. … So mod puppet/nginx … and because of that warning we saw, … I'm going to actually pin the version, … and you do that by using a comma … and then the version number in single quotes. … And then we need to put in the dependencies. … So that was puppetlabs/stdlib, … Puppetlabs/concat, … and puppetlabs/translate. … If you leave the version off, … r10k will just download the latest version of the module, … and this can be helpful … in seeing if an update will break something. … So you might end up keeping the versions off … while you're testing and then pinning them … right before you ship something to production. … And that's all we need to do. …
- 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.