FAQ
You can use the `cp.push_master` command to push files from a minion to the
master. And the `file.managed` or `file.recurse` commands to distribute a
file or directory from the master to minions.

Also the 'minionfs' file server backend will help make that process more
seamless.

(On my phone so hard to provide links but search the Salt docs for each and
they should be easy to find.)
On May 31, 2016 10:54 AM, "gargi" wrote:

I notice here a fundamental problem. When the salt command is called it's
executing salt-call commands locally on the minions. Now, that would mean
that the minions would have to access the build server's folders. This is
due to FireWall rules and network settings not possible.

Can I call running the salt command a salt-run command for the master for
copy the files into it's own folder structure which eventually the
salt-call commands would have access through salt://path/file source
attribute.

Cheers,

Gargi
On Monday, May 30, 2016 at 4:49:07 PM UTC-6, gargi wrote:

Hi,

I was reading the rsync Q&A on the forum. In my case, I would like to
deploy .war files to tomcat. Therefore, I have to copy them over to the
minions. The minions don't have access to the build server hosting the war
files.

Right now, I have a folder with the war files on the salt-master and the
minions grab the files. I am missing the part of remote copying / syncing
the salt-master folder with the remote build server folder. How do I do
that? I also need to provide username and password for authentication
purposes.

Thank you,

Gargi
--
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.
--
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

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 3 of 4 | next ›
Discussion Overview
groupsalt-users @
postedMay 30, '16 at 10:55p
activeMay 31, '16 at 6:26p
posts4
users2

2 users in discussion

Gargi: 3 posts Seth House: 1 post

People

Translate

site design / logo © 2022 Grokbase