So I got this working by calling an external script to run a git rev-parse and to dump the current revision, looks like it works. But I think what is of value here is to be able to see what the individual hosts current config_version is currently at since its last run. This is useful to determine if a host is behind a rev from our git repository. Is this information stored anywhere on the client? can it be extracted from somewhere? -- 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 Tue, Dec 7, 2010 at 10:41 AM, Christopher Johnston <chjohnst@gmail.com>wrote:> So I got this working by calling an external script to run a git rev-parse > and to dump the current revision, looks like it works. But I think what is > of value here is to be able to see what the individual hosts current > config_version is currently at since its last run. This is useful to > determine if a host is behind a rev from our git repository. > > Is this information stored anywhere on the client? can it be extracted from > somewhere? >This information can be parsed from the reports.> -- > 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<puppet-users%2Bunsubscribe@googlegroups.com> > . > 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 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 Tue, Dec 7, 2010 at 10:48 AM, Dan Bode <dan@puppetlabs.com> wrote:> > > On Tue, Dec 7, 2010 at 10:41 AM, Christopher Johnston <chjohnst@gmail.com> > wrote: >> >> So I got this working by calling an external script to run a git rev-parse >> and to dump the current revision, looks like it works. But I think what is >> of value here is to be able to see what the individual hosts current >> config_version is currently at since its last run. This is useful to >> determine if a host is behind a rev from our git repository. >> Is this information stored anywhere on the client? can it be extracted >> from somewhere? > > This information can be parsed from the reports.It''s also in the catalog itself.> >> >> -- >> 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. > > -- > 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. >-- Nigel Kersten - Puppet Labs - http://www.puppetlabs.com -- 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.
AFAIK, its also a fact, which makes it really easy to report with Foreman. Ohad On Tue, Dec 7, 2010 at 8:41 PM, Christopher Johnston <chjohnst@gmail.com>wrote:> So I got this working by calling an external script to run a git rev-parse > and to dump the current revision, looks like it works. But I think what is > of value here is to be able to see what the individual hosts current > config_version is currently at since its last run. This is useful to > determine if a host is behind a rev from our git repository. > > Is this information stored anywhere on the client? can it be extracted from > somewhere? > > -- > 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<puppet-users%2Bunsubscribe@googlegroups.com> > . > 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 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 am on version 0.25.4 of puppet and facter 1.5.2, I don''t see the fact nor the version anywhere in the clients catalog (on the client). I know its available via reports to send to a host somewhere but I am curious if this data is available on the client itself. # facter config_version # On Tue, Dec 7, 2010 at 2:22 PM, Ohad Levy <ohadlevy@gmail.com> wrote:> AFAIK, its also a fact, which makes it really easy to report with Foreman. > > Ohad > > On Tue, Dec 7, 2010 at 8:41 PM, Christopher Johnston <chjohnst@gmail.com>wrote: > >> So I got this working by calling an external script to run a git rev-parse >> and to dump the current revision, looks like it works. But I think what is >> of value here is to be able to see what the individual hosts current >> config_version is currently at since its last run. This is useful to >> determine if a host is behind a rev from our git repository. >> >> Is this information stored anywhere on the client? can it be extracted >> from somewhere? >> >> -- >> 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<puppet-users%2Bunsubscribe@googlegroups.com> >> . >> 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 puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscribe@googlegroups.com<puppet-users%2Bunsubscribe@googlegroups.com> > . > 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 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.