Update a Salt Minion with Execution Modules

15 minutes
  • 3 Learning Objectives

About this Hands-on Lab

We can manage numerous servers at once through the use of Salt. This type of remote execution is supported via the use of _execution modules_, which are individual sets of functions that let us perform related actions on our servers, often across distributions and operating systems. In this lab, we’ll practice using execution modules by preparing a new development server.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Add User

Create the dscully user on all servers. Ensure the fmulder and wskinner users have been added to hers.

Install Packages

Ensure Node.JS and NPM are installed, as well as needed NPM modules.

Update Hosts

Updates all dev hosts so they can talk to the new dev server and the new server can communicate with the existing dev servers.

Additional Resources

A new employee has joined the team! D. Scully needs to have her development server set up. Create a user for her on all dev servers, and be sure to add users for her coworkers, fmulder and wskinner, to her server. She also needs Node.JS installed and LXD prepared (including the alpine:3.13 image added). Once finished, be certain her dev server can talk to the others' by adding the appropriate hosts information to all three dev servers.

Ensure all minions have been accepted by running a sudo salt-key -L; if not, accept the minions with a sudo salt-key -A

What are Hands-on Labs

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?