Masterless Setup

Length: 00:04:33

Lesson Summary:

The salt-minion setup itself is so powerful that it can use most of Salt's functionality on its own. This is ideal for testing various bits of your Salt infrastructure, from states to custom modules. In this lesson, we're going to learn how to set up a masterless minion and ensure we can easily run commands against it.

Set Up Standalone Minion

  1. Install Salt:

     curl -L -o
     sudo sh -P
  2. Turn off and disable the salt-minion daemon:

     sudo systemctl stop salt-minion
     sudo systemctl disable salt-minion
  3. Update the /etc/salt/minion configuration and set the file_client to local:

     sudo $EDITOR /etc/salt/minion
     file_client: local
  4. Save and exit the file.

We can now go ahead and test our masterless minion just to see if any commands work. We've used the network.ip_addrs command before, so let's use that:

sudo salt-call network.ip_addrs

This lesson is only available to Linux Academy members.

Sign Up To View This Lesson

Or Log In

Looking For Team Training?

Learn More