How can i send a complete file from on agent to another agent......?

24 views
Skip to first unread message

mahmad....@gmail.com

unread,
Nov 23, 2015, 8:23:52 AM11/23/15
to Puppet Users
Any one can share code which take file from client side and send complete file to another agent? Please help me out?

Thomas Müller

unread,
Nov 23, 2015, 8:51:28 AM11/23/15
to Puppet Users

Am Montag, 23. November 2015 14:23:52 UTC+1 schrieb mahmad....@gmail.com:
Any one can share code which take file from client side and send complete file to another agent? Please help me out?

IMHO: Puppet is not a file transfer tool. 

But maybe you could use exported resources somehow? https://docs.puppetlabs.com/puppet/latest/reference/lang_exported.html

Or just use puppet to copy files by scp or the like.

- Thomas
 

Matthew Burgess

unread,
Nov 23, 2015, 9:43:43 AM11/23/15
to puppet...@googlegroups.com
What manages the file on client 1? If it's not currently Puppet, can
Puppet be instructed to manage the file? If so, you can simply then
get Puppet to serve the same file out to both agents.

On 23 November 2015 at 07:48, <mahmad....@gmail.com> wrote:
> Any one can share code which take file from client side and send complete
> file to another agent? Please help me out?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to puppet-users...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/puppet-users/1453676e-1347-424d-9ff5-a2e885c9c945%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages