On 09/29/2011 12:08 PM, martin f krafft wrote: > also sprach Aaron Toponce <aaron.toponce@gmail.com> [2011.09.29.1931 +0200]: >> Salt allows commands to be executed across large groups of >> servers. This means systems can be easily managed, but data can >> also be easily gathered. Quick introspection into running systems >> becomes a reality. > > Can files be transferred? Most definitely! Salt can transfer files two ways via the salt-cp(1) command[1] as well as the salt file server[2]. There are plans on expanding the file server in the future and changing salt-cp(1) to use it. 1. http://saltstack.org/ref/cli/salt-cp.html 2. http://saltstack.org/ref/file_server/ >> Remote execution is usually used to set up a certain state on >> a remote system. Salt addresses this problem as well, the salt >> state system uses salt state files to define the state a server >> needs to be in. > > And how does it then attain the state? Can you give an example? The states are defined in simple data structures, basically in a tree of YAML files (although you don't have to use YAML). A states tutorial is in the works[1]. There is a reference states page that might be useful[2] and there is an example tree setup in the salt-states git repository[3]. 1. https://raw.github.com/thatch45/salt/master/doc/topics/states-tutorial.rst 2. http://saltstack.org/ref/states 3. https://github.com/thatch45/salt-states/tree/master/small -- . o . o . o . . o o . . . o . . . o . o o o . o . o o . . o o o o . o . . o o o o . o o o
Attachment:
signature.asc
Description: OpenPGP digital signature