This is what facter is used for. This should get you started. http://docs.puppetlabs.com/guides/custom_facts.html
-- cwebber On Apr 7, 2010, at 6:57 AM, Tore wrote: > What options does puppet provide to transfer information back to > puppetmaster? > > I just wrote a quick manifest to create files on the puppetmaster > based on information from the nodes: > http://pastebin.com/MyurwLrE > > Then it struck me, this wont work at all since (of course) the > configuration is compiled locally on the master, then transfered to > the nodes. Hence, all files would have the same content, but different > names. > > I'm little stuck here, what options do I have to solve this problems? > I have a few cases where just retrieving file X from all nodes would > be excellent, e.g. httpd.conf, just to diff them locally to verify > that no differences is present, before adding a manifest for handling > that file. > > Does puppet have anything in stock for me here? > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
