Feature #7854

please add augeas version fact

Added by micah - 12 months ago. Updated 9 months ago.

Status:Closed Start date:06/09/2011
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:library
Target version:1.6.1
Keywords:augeas version Affected Facter version:
Branch:https://github.com/domcleal/facter/tree/tickets/master/7854
Votes: 1

Description

Hi,

Knowing the augeas version is a common problem if you are using augeas. The best way to solve that problem is by shipping a fact that provides it. Such a fact is quite simple and has been described here: http://blog.kumina.nl/2010/03/puppet-tipstricks-getting-the-version-from-a-package/

Would you kindly consider pulling this into upstream facter, so we can stop all adding this individually? :)

History

Updated by Adrien Thebo 12 months ago

  • Status changed from Unreviewed to Investigating
  • Assignee set to Adrien Thebo

Such a fact could be possible, but the provided implementation is debian specific. A method of determining the version of augeas would really need to support a wider variety of platforms.

Updated by Daniel Pittman 12 months ago

Such a fact could be possible, but the provided implementation is debian specific. A method of determining the version of augeas would really need to support a wider variety of platforms.

Wouldn’t the right thing to do be try and load Augeas itself, then report the version number directly from that?

Updated by James Turnbull 12 months ago

Good idea – you should be able to require ‘augeas’.

Updated by Dominic Cleal 11 months ago

  • Branch set to https://github.com/domcleal/facter/tree/tickets/master/7854

Used the Augeas library via the Ruby bindings to get the value of /augeas/version for portability.

Updated by James Turnbull 11 months ago

  • Category set to library
  • Status changed from Investigating to In Topic Branch Pending Review
  • Target version set to 1.6.x

Updated by Adrien Thebo 11 months ago

  • Assignee deleted (Adrien Thebo)

Updated by Adrien Thebo 9 months ago

  • Status changed from In Topic Branch Pending Review to Merged - Pending Release

Updated by Adrien Thebo 9 months ago

Merged in a6dce5e191f288aa8fb52cf0df0e00a429f4ba9f

Updated by Matthaus Litteken 9 months ago

  • Status changed from Merged - Pending Release to Closed
  • Target version changed from 1.6.x to 1.6.1

Released in 1.6.1rc2

Also available in: Atom PDF