What is the best way to retrieve files on clients ? Vincent -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
So I need to retrieve the output of somes scripts running on many clients Must I configure a puppet server on each nodes ? On Mar 10, 12:37 pm, vincent <vinc...@louviaux.com> wrote:> What is the best way to retrieve files on clients ? > > Vincent-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Please elaborate further. How much output are we talking about and what is to happen with it? The canonical way to go about this is deploying custom facts on your clients, which the puppetmaster uses then. Regards, Felix On 03/10/2011 01:49 PM, Vincent wrote:> So I need to retrieve the output of somes scripts running on many > clients > Must I configure a puppet server on each nodes ? > > > > > On Mar 10, 12:37 pm, vincent <vinc...@louviaux.com> wrote: >> What is the best way to retrieve files on clients ? >> >> Vincent >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
I execute one script hourly, this script create an output file that I need to push on another server As puppet can pass our fw I would like to use it as file transfert. Vincent On Mar 10, 2:26 pm, Felix Frank <felix.fr...@alumni.tu-berlin.de> wrote:> Please elaborate further. How much output are we talking about and what > is to happen with it? > > The canonical way to go about this is deploying custom facts on your > clients, which the puppetmaster uses then. > > Regards, > Felix > > On 03/10/2011 01:49 PM, Vincent wrote: > > > So I need to retrieve the output of somes scripts running on many > > clients > > Must I configure a puppet server on each nodes ? > > > On Mar 10, 12:37 pm, vincent <vinc...@louviaux.com> wrote: > >> What is the best way to retrieve files on clients ? > > >> Vincent-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
On 03/10/2011 02:31 PM, Vincent wrote:> I execute one script hourly, this script create an output file that I > need to push on another server > As puppet can pass our fw I would like to use it as file transfert. > > VincentHmm...I don''t think this is a good idea. Puppet isn''t really designed for this use case as far as I know. Couldn''t you make an scp transfer? Surely your firewall permits SSH. Puppet can trigger such actions without effort. HTH, Felix -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Daniel Pittman
2011-Mar-11 02:39 UTC
Re: [Puppet Users] Re: retrieve output files on clients
On Thu, Mar 10, 2011 at 06:52, Felix Frank <felix.frank@alumni.tu-berlin.de> wrote:> On 03/10/2011 02:31 PM, Vincent wrote: >> I execute one script hourly, this script create an output file that I >> need to push on another server >> As puppet can pass our fw I would like to use it as file transfert. > > Hmm...I don''t think this is a good idea. Puppet isn''t really designed > for this use case as far as I know.Yeah, you are kind of going to be working around the way things are usually done.> Couldn''t you make an scp transfer? Surely your firewall permits SSH. > Puppet can trigger such actions without effort.I can identify two tools that puppet offers that might help. One, which I suggest is the best mechanism, is that you can log output from any command by setting the appropriate property on the resource. That will get the content down into your logs, and you can then extract that in the usual selection of ways elsewhere. Two, which is less useful, is that puppet will send to a remote file bucket file content; you could use that in nasty ways to convince puppet that it needed to store the file content they, and then retrieve it, but it introduces a lot of complexity. Otherwise, you can use puppet to help automate whatever solution you want, but it is all effectively "something acts to run your command on some schedule". Daniel -- ⎋ Puppet Labs Developer – http://puppetlabs.com ✉ Daniel Pittman <daniel@puppetlabs.com> ✆ Contact me via gtalk, email, or phone: +1 (877) 575-9775 ♲ Made with 100 percent post-consumer electrons -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.