Kenneth Holter
2008-Jun-11 13:17 UTC
[Puppet Users] Retrieve client information with puppet
Hi. Can Puppet be used for retrieving custom information from the puppet clients? Specifically, can one configure Puppet to do this: - Upload a custom script to the puppet client - Execute the script, and save the result in a file - Fetch the file and store it on the puppetmaster ? I know that one can excecute scripts, but I''m not sure how one fetches the result file. Regards, Kenneth Holter --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Jeff Leggett
2008-Jun-12 22:44 UTC
[Puppet Users] Re: Retrieve client information with puppet
1. yes, easily 2. yes, again pretty easy. 3. Not directly BY puppetmaster, but why not have your script ITSELF, open a scp connection back to the puppetmaster and upload the script when it''s finished running. All you''d need to ensure this is a puppetclient running on the puppetmaster to ensure that sshd is running and accepting connections? On Jun 11, 9:17 am, "Kenneth Holter" <kenneho....@gmail.com> wrote:> Hi. > > Can Puppet be used for retrieving custom information from the puppet > clients? Specifically, can one configure Puppet to do this: > > - Upload a custom script to the puppet client > - Execute the script, and save the result in a file > - Fetch the file and store it on the puppetmaster > > ? > > I know that one can excecute scripts, but I''m not sure how one fetches the > result file. > > Regards, > Kenneth Holter--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---