Book Image

Mastering SaltStack - Second Edition

Book Image

Mastering SaltStack - Second Edition

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
Credits
Foreword
About the Author
About the Reviewer
www.PacktPub.com
Preface

Summary


There are a number of information systems inside of Salt. Grains are defined on the minions that use them, while pillars are defined on the master. When files inside pillar_roots are used, they may take advantage of templates and other modules in the renderer system. External pillars are also available that can give access to dynamic remote sources. Some of those external pillars, such as git_pillar, provide a virtual filesystem that behaves like pillar_roots, even allowing templating abilities.

SDB can be used to obscure data from configuration files. While it may look secure, there are very few situations in which it can actually be treated as a completely secure storage mechanism. Its power lies in two areas: being able to remove sensitive data from configuration files so that they can be safely stored in plaintext or revision control and being simple to use.

SDB and pillars overlap in some areas of functionality, but not all. With some exception, SDB tends to be more useful for...