Hi Martin, I think what you are looking for is the reports that get produced from a puppet run. Take a look at http://docs.puppetlabs.com/guides/reporting.htmlas a starting place. I think that will also give you the vocabulary that you need to search through the code. In the end, I think you just need to have puppet apply write the report out to disk, and then have your wrapper pick that file up and send it to where ever you want to send it. If it is to a master or a dashboard, then you should be able to just configure apply to do that for you, but it sounds like you want to be an intermediary in that process.
I looked over your linked email and notice that you also have a desire for the logs. You might consider setting the logdest for the run from ppg so that you can get the output in a file. Andy On Thu, Apr 25, 2013 at 8:43 AM, Martin Langhoff <[email protected]>wrote: > Hi Puppet Devs, > > I am drafting out a plan to make a git-based wrapper to puppet that > adds some niceties to the usual "server-less puppet infra with configs > distributed by git" scheme. > > And one of the key goals is to be able to run offline but feed the > results to a puppet server/dashboard. That is: run puppet apply > offline, collect relevant data from the run, push it (in > store-and-forward fashion) all they way "upstream" to a puppet server > / dashboard. > > Where can I learn more about how the puppet client feeds data about > its run (and its facts?) to the server or dashboard? Can I skip the > puppet server, and write straight to the dashboard? > > Any hints as to what keywords to search for in docs and code? Relevant > code files? > > I am very familiar with git (I was part of the early dev efforts) but > I only know Puppet as an end user. With a bit of guidance as to where > to look and walls to avoid, I'll be more than happy to hack on Ruby > where needed :-} > > More details about the wrapper I'm working on: > https://groups.google.com/forum/?fromgroups#!topic/puppet-users/OilxMytnD_k > > Naturally planning to make this widely available and useful to others > under GPL or similar. > > thanks! > > > > martin > -- > [email protected] > - ask interesting questions > - don't get distracted with shiny stuff - working code first > ~ http://docs.moodle.org/en/User:Martin_Langhoff > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/puppet-dev?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- Andrew Parker [email protected] Freenode: zaphod42 Twitter: @aparker42 Software Developer *Join us at PuppetConf 2013, August 22-23 in San Francisco - * http://bit.ly/pupconf13* **Register now and take advantage of the Early Bird discount - save 25%!* -- You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-dev?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
