- Let's go through an example solution to the ssh challenge.…First, I'm going to generate an ssh key pair…that we can use.…Logged in as root, on the master, just run ssh-keygen.…We'll accept the default file locations,…and leave the passphrase blank.…I'm going to cat that file out,…so that I can copy it, and use it in my puppet code.…We want the public key.…I'm just going to copy this middle part,…right up until email@example.com.…
Back in the control_repo, I'm going to add…that key into the ssh_server class…that was provided in the exercise files.…So, I'll go to site/profile,…and I've already added in that file.…I'm going to click the pencil,…and it should be pasted right in here,…under key.…We'll make sure that we have the right quotes…at the end of this really long string.…So, we need a single quote before that comma.…Now, I'll commit the changes.…
To get our notes set up with the ssh_server,…we have a few options.…We could add the profile to each role,…but I'm actually going to add it to the profile base 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.