I am using CentOS6.5. I can successfully copy a file from master to a
minion with id=minionId by running the following command on the master:

     salt minionId cp.get_file salt://fileInMaster.txt
/home/johnDoe/fileNowInMinion.txt ##run on master

If I have to accomplish the exact same thing using python how do I do it?.
I want to run a python script on master that copies a file from master to a
specific minion with given Id

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 [email protected].
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 7:38p
activeNov 5, '14 at 8:20p

2 users in discussion

Joey: 1 post Stephen Spencer: 1 post



site design / logo © 2023 Grokbase