Get in Touch

Course Outline

Salt Overview

  • The goals of SaltStack
  • Architectural overview of remote execution
  • Salt states
  • Grains
  • Pillar
  • Jinja2 and the templating mechanism

Introduction to YAML

  • Literals and scalars
  • Sequences and mappings
  • Practical examples

Installation of Salt

  • Installation on Ubuntu
  • Differences between salt-common, salt-minion, and salt-master
  • Installation on Amazon EC2

Salt Command Line Basics

  • Anatomy of a Salt command
  • JSON output formatting
  • Using the jq tool

Targeting Minions

  • Globbing
  • Regular expressions
  • List matching
  • IP matching
  • Grains matching
  • Compound matching
  • Examples and exercises

States

  • Package management
  • Service management
  • Highstate
  • Salt formulas
  • Exercises and examples

Templating

  • Introduction to Jinja2
  • For loops, assignments, and escaping
  • Applying Jinja2 templating in Salt with examples

Pillar

  • Secure data storage
  • Example: VNC password deployment

Extending Salt

  • Writing execution modules
  • Customizing Salt configuration
  • Wrapping states around execution modules
  • Rendering data
  • Processing return data
  • Scripting with runners
  • Adding external file servers
  • Integrating with cloud services
  • Monitoring using beacons
  • Scaling the master (multi-masters)

Other interesting SaltStack concepts

  • Environments
  • Orchestration
  • Integration with Docker
  • Salt for Windows

Summary and Conclusion

Requirements

  • A fundamental understanding of Unix/Linux administration is required to grasp the more advanced topics covered in this course.
 21 Hours

Number of participants


Price per participant

Testimonials (1)

Upcoming Courses

Related Categories