Book Image

Mastering SaltStack - Second Edition

By : Joseph Hall
Book Image

Mastering SaltStack - Second Edition

By: Joseph Hall

Overview of this book

SaltStack is a powerful configuration management and automation suite designed to manage servers and tens of thousands of nodes. This book showcases Salt as a very powerful automation framework. We will review the fundamental concepts to get you in the right frame of mind, and then explore Salt in much greater depth. You will explore Salt SSH as a powerful tool and take Salt Cloud to the next level. Next, you’ll master using Salt services with ease in your infrastructure. You will discover methods and strategies to scale your infrastructure properly. You will also learn how to use Salt as a powerful monitoring tool. By the end of this book, you will have learned troubleshooting tips and best practices to make the entire process of using Salt pain-free and easy.
Table of Contents (20 chapters)
Mastering SaltStack Second Edition
About the Author
About the Reviewer

Driving with RAET

We've talked about the concepts behind RAET, but now it's time to get down to business. Let's go ahead and enable it; we can then get started.

Configuring RAET

Setting up Salt to use RAET is actually not a big deal. In the master and the minion configuration files, set transport to raet:

transport: raet 

As of version 2016.3, this is still set to zeromq by default, but this may change in future releases.

There are some other changes that come with RAET. As RAET uses a different encryption scheme, it also has its own set of keys. The master used to store its minions' public keys in the following directories (inside /etc/salt/pki/master/):

  • minions_pre/: This specifies the minions that have identified themselves to the master but whom the master has not yet accepted

  • minions/: This denotes the minions that have been identified to and accepted by the master

  • minions_rejected/: This specifies the minions that have identified themselves to the master but with whom the master has explicitly...