Hi, I need to do some reporting on the client (installed packages, patchlevel, ... you get the idea) I''d like to use some custome facts for this. According the documentation, the clients facter values should be stored on the puppetmaster as yaml files: http://reductivelabs.com/trac/puppet/wiki/AddingFacts: You can also determine what facts (and their values) your clients return by checking the contents of the client''s yaml output. To do this we check the $yamldir (by default $vardir/yaml/) on the Puppet master: # grep kernel /var/lib/puppet/yaml/node/puppetslave.example.org.yaml kernel: Linux kernelrelease: 2.6.18-92.el5 kernelversion: 2.6.18 I can''t find any yaml files on my 0.23.2 puppet masters. Is this feature available before 0.24? Regards Robert --~--~---------~--~----~------------~-------~--~----~ 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 think its under the yaml/facts directory, maybe a simple find under puppetdir for all yaml files? On Tue, Jul 7, 2009 at 8:11 PM, robert.gstoehl <robert.gstoehl@gmail.com>wrote:> > Hi, > > I need to do some reporting on the client (installed packages, > patchlevel, ... you get the idea) I''d like to use some custome facts > for this. According the documentation, the clients facter values > should be stored on the puppetmaster as yaml files: > > http://reductivelabs.com/trac/puppet/wiki/AddingFacts: > You can also determine what facts (and their values) your clients > return by checking the contents of the client''s yaml output. To do > this we check the $yamldir (by default $vardir/yaml/) on the Puppet > master: > > # grep kernel /var/lib/puppet/yaml/node/puppetslave.example.org.yaml > kernel: Linux > kernelrelease: 2.6.18-92.el5 > kernelversion: 2.6.18 > > I can''t find any yaml files on my 0.23.2 puppet masters. Is this > feature available before 0.24? > > Regards Robert > > > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
No yaml files except the yaml reports under var/puppet/reports/*: root@ulisys011 # find /var/puppet/ -name "*.yaml" | grep -v reports /var/puppet/state/localconfig.yaml /var/puppet/state/state.yaml On Jul 7, 2:57 pm, Ohad Levy <ohadl...@gmail.com> wrote:> i think its under the yaml/facts directory, maybe a simple find under > puppetdir for all yaml files? > > On Tue, Jul 7, 2009 at 8:11 PM, robert.gstoehl <robert.gsto...@gmail.com>wrote: > > > > > Hi, > > > I need to do some reporting on the client (installed packages, > > patchlevel, ... you get the idea) I''d like to use some custome facts > > for this. According the documentation, the clients facter values > > should be stored on the puppetmaster as yaml files: > > >http://reductivelabs.com/trac/puppet/wiki/AddingFacts: > > You can also determine what facts (and their values) your clients > > return by checking the contents of the client''s yaml output. To do > > this we check the $yamldir (by default $vardir/yaml/) on the Puppet > > master: > > > # grep kernel /var/lib/puppet/yaml/node/puppetslave.example.org.yaml > > kernel: Linux > > kernelrelease: 2.6.18-92.el5 > > kernelversion: 2.6.18 > > > I can''t find any yaml files on my 0.23.2 puppet masters. Is this > > feature available before 0.24? > > > Regards Robert--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Two yaml files outside the var/puppet/reports/* dir: /var/puppet/state/localconfig.yaml /var/puppet/state/state.yaml Nothing else. I don''t have a yamldir entry in my (generated) config file. On Jul 7, 2:57 pm, Ohad Levy <ohadl...@gmail.com> wrote:> i think its under the yaml/facts directory, maybe a simple find under > puppetdir for all yaml files? > > On Tue, Jul 7, 2009 at 8:11 PM, robert.gstoehl <robert.gsto...@gmail.com>wrote: > > > > > Hi, > > > I need to do some reporting on the client (installed packages, > > patchlevel, ... you get the idea) I''d like to use some custome facts > > for this. According the documentation, the clients facter values > > should be stored on the puppetmaster as yaml files: > > >http://reductivelabs.com/trac/puppet/wiki/AddingFacts: > > You can also determine what facts (and their values) your clients > > return by checking the contents of the client''s yaml output. To do > > this we check the $yamldir (by default $vardir/yaml/) on the Puppet > > master: > > > # grep kernel /var/lib/puppet/yaml/node/puppetslave.example.org.yaml > > kernel: Linux > > kernelrelease: 2.6.18-92.el5 > > kernelversion: 2.6.18 > > > I can''t find any yaml files on my 0.23.2 puppet masters. Is this > > feature available before 0.24? > > > Regards Robert--~--~---------~--~----~------------~-------~--~----~ 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''ll take another shot at it as soon we have upgraded to a more recent version. Thanks Ohad Levy. On Jul 7, 3:28 pm, "robert.gstoehl" <robert.gsto...@gmail.com> wrote:> Two yaml files outside the var/puppet/reports/* dir: > /var/puppet/state/localconfig.yaml > /var/puppet/state/state.yaml > > Nothing else. I don''t have a yamldir entry in my (generated) config > file. > > On Jul 7, 2:57 pm, Ohad Levy <ohadl...@gmail.com> wrote: > > > i think its under the yaml/facts directory, maybe a simple find under > > puppetdir for all yaml files? > > > On Tue, Jul 7, 2009 at 8:11 PM, robert.gstoehl <robert.gsto...@gmail.com>wrote: > > > > Hi, > > > > I need to do some reporting on the client (installed packages, > > > patchlevel, ... you get the idea) I''d like to use some custome facts > > > for this. According the documentation, the clients facter values > > > should be stored on the puppetmaster as yaml files: > > > >http://reductivelabs.com/trac/puppet/wiki/AddingFacts: > > > You can also determine what facts (and their values) your clients > > > return by checking the contents of the client''s yaml output. To do > > > this we check the $yamldir (by default $vardir/yaml/) on the Puppet > > > master: > > > > # grep kernel /var/lib/puppet/yaml/node/puppetslave.example.org.yaml > > > kernel: Linux > > > kernelrelease: 2.6.18-92.el5 > > > kernelversion: 2.6.18 > > > > I can''t find any yaml files on my 0.23.2 puppet masters. Is this > > > feature available before 0.24? > > > > Regards Robert--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---