Get in Touch

Course Outline

Salt Overview

  • The objectives of SaltStack
  • Architectural overview of remote execution
  • Salt states
  • Grains
  • Pillar
  • Jinja2 and the virtual file system

Introduction to YAML

  • Literals and scalars
  • Sequences and mappings
  • Practical examples

Installing 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
  • Services
  • Highstate
  • Salt formulas
  • Exercises and examples

Templating

  • Jinja2 introduction
  • For loops, assignments, and escaping
  • Implementing Jinja2 templating in Salt with examples

Pillar

  • Secure data storage
  • Example: Deploying VNC passwords

Extending Salt

  • Writing execution modules
  • Extending Salt configuration
  • Wrapping states around execution modules
  • Rendering data
  • Handling return data
  • Scripting with runners
  • Adding external file servers
  • Connecting to cloud infrastructure
  • Monitoring with beacons
  • Extending the master (multi-masters)

Other Notable SaltStack Concepts

  • Environments
  • Orchestration
  • Docker integration
  • Salt for Windows

Summary and Conclusion

Requirements

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

Testimonials (1)

Upcoming Courses

Related Categories