Puppet gathers facts about a system using a tool called facter. Get a better idea of facter by trying it out on the command line. Don't forget—it's facter with an "er" at the end.
- [Instructor] In this video, we'll look at Facter.…Facter is the tool that Puppet uses to gather facts…about a node, in order to figure out what needs to done…on that node.…Facter is a standalone tool,…so you can use it in other scripts,…but it's bundled with Puppet…because they're so closely integrated.…First, let's try running Facter from the command line.…F-A-C-T-E-R.…Make sure you spell it with an E-R.…The command factor, F-A-C-T-O-R,…is used for factoring numbers…and is built in to most Linux distributions.…
If you type facter and don't see any response,…there's a good chance you typed O-R instead of E-R.…As you can see, we can figure out the factors of numbers.…This could be useful but it's not what we're looking for…in this case.…Hit control + c to quit that.…As you can see, Facter spits out a lot of information…by default.…If you'd like to narrow down the data that you see,…you can specify one of the keys here.…So in this VM, you can see there is a timezone UTC…here near the bottom.…If I type facter timezone,…
- 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.