FAQ
I need to retrieve the output of a command and write it to a file on the
master, anyone know how?

In my example.sls:

date:
   cmd.run

I run:

salt '*' state.highstate

stdout:
                   Sun Nov 2 10:22:59 CET 2014


pd: sorry I am begginer

Thank you!

--
You received this message because you are subscribed to the Google Groups "Salt-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to salt-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 2 | next ›
Discussion Overview
groupsalt-users @
postedNov 5, '14 at 2:10p
activeNov 19, '14 at 11:48p
posts2
users2

2 users in discussion

Pruebassalt: 1 post Colton Myers: 1 post

People

Translate

site design / logo © 2022 Grokbase