Your privacy matters: This site uses cookies to analyze site usage and provide social media features. Learn More.

Introduction to Puppet 3

SRV-160 (3 Days)

Request Pricing

Puppet 3 Training Overview

Accelebrate's Puppet 3 course teaches students how to use Puppet to automate server setups and to manage websites, databases, and desktops. Attendees learn how to seamlessly integrate Puppet and to keep the system constantly up to date with automated daily maintenance tasks.

Location and Pricing

Most Accelebrate courses are delivered as private, customized, on-site training at our clients' locations worldwide for groups of 3 or more attendees and are custom tailored to their specific needs. Please visit our client list to see organizations for whom we have delivered private in-house training. These courses can also be delivered as live, private online classes for groups that are geographically dispersed or wish to save on the instructor's or students' travel expenses. To receive a customized proposal and price quote for private training at your site or online, please contact us.

Puppet 3 Training Objectives

All students will:

  • Install and configure the Puppet environment
  • Run Puppet on multiple servers
  • Deploy configuration files and templates for lightning-fast installations
  • Create and monitor reports and information
  • Manage user accounts, security, access control, and scheduled jobs
  • Learn the best practices for organizing your Puppet code using Git

Puppet 3 Training Outline

Expand All | Collapse All | Printer-Friendly

Introduction to Puppet
  • The problem
    • Configuration management
    • A day in the life of a sysadmin
    • Keeping the configuration synchronized
    • Repeating changes across many servers
    • Self-updating documentation
    • Coping with different platforms
    • Version control and history
  • Solving the problem
    • Reinventing the wheel
    • A waste of effort
    • Transferable skills
    • Configuration management tools
  • Infrastructure as code
    • Dawn of the devop
    • Job satisfaction
    • The Puppet advantage
  • What is Puppet?
    • The Puppet language
    • Resources and attributes
First steps with Puppet
  • What you'll need
  • Preparing for Puppet
  • Installing Puppet
  • Your first manifest
    • How it works
    • Applying the manifest
    • What just happened?
    • Modifying existing files
  • Organizing your manifests
  • Creating a directory structure
    • Creating a nodes.pp file
  • Creating a node declaration
Packages, Files, and Services
  • Packages
  • Installing Nginx
    • More about packages
  • Modules
  • Creating an Nginx module
  • Making a "puppet apply" command
  • Services
  • Adding the Nginx service
    • Requiring resources
    • More about services
  • Files
  • Deploying a virtual host
    • Notifying other resources
    • The package–file–service pattern
Managing Puppet with Git
  • What is version control?
  • Importing your manifests into Git
  • Committing and inspecting changes
    • How often should I commit?
    • Branching
  • Distributing Puppet manifests
    • Reliability
    • Scalability
    • Simplicity
  • Creating a master Git repo
  • Cloning the repo to a new machine
  • Adding a new node
  • Pushing changes to the master repo
    • Pulling changes automatically
  • Automatic pull-and-apply script
  • Learning more about Git
Managing users
  • Users
    • Security and access control
    • What Puppet can do
  • Creating a user
    • Removing user accounts
  • Access control
    • What is SSH?
    • Managing SSH keys
  • Adding an SSH authorized key
    • Generating new SSH keys
    • Special-purpose keys
    • Locking user accounts
    • Managing SSH configuration
  • Deploying an SSH configuration file
  • User privileges
    • sudo
  • deploying a sudoers file
Tasks and templates
  • Running commands with exec resources
  • Running an arbitrary command
    • Running commands selectively
    • Triggering commands
    • Chaining commands
    • Command search paths
  • Scheduled tasks
  • Scheduling a backup
    • More scheduling options
    • Running jobs at regular intervals
    • Running a job as a specified user
  • Distributing files
  • Using a recursive file resource
  • Using templates
  • Templating an Nginx virtual host
    • Inline templates
    • System facts
    • Doing the math
    • Putting it all together
Definitions and Classes
  • Grouping resources into arrays
  • Definitions
    • Passing parameters to definitions
    • Optional parameters
  • Creating a definition for Nginx websites
    • Multiple instances of definitions
  • Classes
    • Defining classes
    • Putting classes inside modules
    • Declaring classes
    • What's the difference between a class and a definition?
  • Creating an NTP class
Expressions and Logic
  • Conditionals
    • If statements
    • Case statements
    • Selectors
  • Expressions
    • Comparisons
    • Boolean operators
    • Arithmetic operators
  • Regular expressions
    • Operators
    • Syntax
    • Conditionals
    • Substitutions
    • Node definitions
  • Arrays and hashes
    • Grouping resources with arrays
    • Getting values out of arrays
    • Hashes
    • Multilevel hashes
    • Testing hash keys
Reporting and troubleshooting
  • Reporting
    • Summary reports
    • Enabling reports
    • What's in a report?
  • Generating a report
    • Using reports
    • Debug runs
    • Noop runs
    • Syntax checking
  • Debug output
    • Notify resources
    • Exec output
  • Monitoring
    • Managing monitoring with Puppet
    • What to monitor
    • Monitoring Puppet status
    • Problems with Puppet
    • Staying in sync
  • Errors
    • Compilation errors
    • Mistyped command line options
Moving on Up
  • Puppet style
    • Break out code into modules
    • Refactor common code into definitions
    • Keep node declarations simple
    • Use puppet-lint
    • Make comments superfluous
  • Puppet learning resources
    • Reference
    • Modules and code
  • Projects
    • Puppet everywhere
    • User accounts
    • System toolbox
    • Time sync
    • Monitoring server
    • Puppetize your key services
    • Automate backups
    • Set up staging servers
    • Automate everything
Conclusion
Request Pricing
Lecture percentage

40%

Lecture/Demo

Lab percentage

60%

Lab

Course Number:

SRV-160

Duration:

3 Days

Prerequisites:

All attendees should have extensive experience administering the operating system with which they’re using Puppet.  By default, this class is taught on Linux.

Training Materials:

All students receive a copy of Packt's Puppet 3 Beginner's Guide and related courseware.

Software Requirements:

Specifications would be provided for creating a virtual machine with Puppet Enterprise.  On request, we can provide a Linux virtual machine into which you can install Puppet during the training.

Contact Us:

Accelebrate’s training classes are available for private groups of 3 or more people at your site or online anywhere worldwide.

Don't settle for a "one size fits all" public class! Have Accelebrate deliver exactly the training you want, privately at your site or online, for less than the cost of a public class.

For pricing and to learn more, please contact us.

Contact Us

Toll-free in US/Canada:
877 849 1850
International:
+1 678 648 3113

Toll-free in US/Canada:
866 566 1228
International:
+1 404 420 2491

925B Peachtree Street, NE
PMB 378
Atlanta, GA 30309-3918
USA

Subscribe to our Newsletter:

Never miss the latest news and information from Accelebrate:

Microsoft Gold Partner

Please see our complete list of
Microsoft Official Courses

Recent Training Locations

Alabama

Huntsville

Montgomery

Birmingham

Alaska

Anchorage

Arizona

Phoenix

Tucson

Arkansas

Fayetteville

Little Rock

California

San Francisco

Oakland

San Jose

Orange County

Los Angeles

Sacramento

San Diego

Colorado

Denver

Boulder

Colorado Springs

Connecticut

Hartford

DC

Washington

Florida

Fort Lauderdale

Miami

Jacksonville

Orlando

Saint Petersburg

Tampa

Georgia

Atlanta

Augusta

Savannah

Idaho

Boise

Illinois

Chicago

Indiana

Indianapolis

Iowa

Ceder Rapids

Des Moines

Kansas

Wichita

Kentucky

Lexington

Louisville

Louisiana

Banton Rouge

New Orleans

Maine

Portland

Maryland

Annapolis

Baltimore

Hagerstown

Frederick

Massachusetts

Springfield

Boston

Cambridge

Michigan

Ann Arbor

Detroit

Grand Rapids

Minnesota

Saint Paul

Minneapolis

Mississippi

Jackson

Missouri

Kansas City

St. Louis

Nebraska

Lincoln

Omaha

Nevada

Reno

Las Vegas

New Jersey

Princeton

New Mexico

Albuquerque

New York

Buffalo

Albany

White Plains

New York City

North Carolina

Charlotte

Durham

Raleigh

Ohio

Canton

Akron

Cincinnati

Cleveland

Columbus

Dayton

Oklahoma

Tulsa

Oklahoma City

Oregon

Portland

Pennsylvania

Pittsburgh

Philadelphia

Rhode Island

Providence

South Carolina

Columbia

Charleston

Spartanburg

Greenville

Tennessee

Memphis

Nashville

Knoxville

Texas

Dallas

El Paso

Houston

San Antonio

Austin

Utah

Salt Lake City

Virginia

Richmond

Alexandria

Arlington

Washington

Tacoma

Seattle

West Virginia

Charleston

Wisconsin

Madison

Milwaukee

Alberta

Edmonton

Calgary

British Columbia

Vancouver

Nova Scotia

Halifax

Ontario

Ottawa

Toronto

Quebec

Montreal

Puerto Rico

San Juan

© 2013-2019 Accelebrate, Inc. All Rights Reserved. All trademarks are owned by their respective owners.