[Info-vax] Data Center Operations: DC/OS, Apache Mesos

Paul Sture nospam at sture.ch
Mon Jun 6 07:55:03 EDT 2016


On 2016-06-05, Jan-Erik Soderholm <jan-erik.soderholm at telia.com> wrote:

>  From the tutorial on
> https://docs.saltstack.com/en/getstarted/fundamentals/remotex.html :
>
>
> -------------------------------------------------------------------
> "Salt lets you remotely execute shell commands across multiple
> systems using cmd.run:
>
> salt '*' cmd.run 'ls -l /etc'
>
> All managed systems simultaneously and immediately execute this
> command and then return the output to the Salt master.
> Feeling the power?"
> -------------------------------------------------------------------
>
>
> I don't know, but this feels like something else...

"Feeling the power?" is reminiscent of the tutorials on the MySQL
web site about a decade ago.  Simple concepts were presented in a
"Wow this is great!" manner, which didn't really work if you already
had experience of database features.

P.S. SaltStack is implemented in Python. The above command looks
like this:

>>> import salt.client
>>> local = salt.client.LocalClient()
>>> local.cmd('*', 'test.ping')
{'node1': True, 'node2': True}

-- 
There are two hard things in computer science, and they are cache invalidation,
naming, and off-by-one errors.



More information about the Info-vax mailing list