注意:

The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.

Package:Salt

From Funtoo
Jump to navigation Jump to search

Salt

   Tip

We welcome improvements to this page. To edit this page, Create a Funtoo account. Then log in and then click here to edit this page. See our editing guidelines to becoming a wiki-editing pro.

From SaltStack's Web site:

"SaltStack takes a new approach to infrastructure management by developing software that is easy enough to get running in seconds, scalable enough to manage tens of thousands of servers, and fast enough to control and communicate with them in milliseconds. SaltStack delivers a dynamic infrastructure communication bus used for orchestration, remote execution, configuration management and much more. The Salt open source project was launched in 2011 and today is the fastest-growing, most-active configuration management / systems management project in the world. SaltStack is the company responsible for keeping the Salt project healthy and dynamic. Salt remains 100% open."

Introduction

Saltstack is infrastructure management and orchestration software that is very fast, because of parallel and real-time communication between master (server) and minions (clients). All the work is done directly by the minion, master sends only configuration definitions and instructions what to run, all the heavy lifting is done by the minions themselves. Salt can be used in heterogen environments due to its cross-platform capabilities. Salt is secure as all communication between the master and the minion is encrypted using AES keys.

Usage

Salt gives ability to execute commands on all registered minions and also performs configuration management, but also orchastration of multiple systems.

Remote execution

After you install SaltStack, you are immediately ready to run shell commands, update packages, and distribute files to all managed systems simultaneously.

Examples
salt '*' cmd.run 'uptime'
salt '*' disk.usage
salt '*' pkg.install cowsay

Configuration management

Examples