The Puppet Labs Issue Tracker has Moved: https://tickets.puppetlabs.com

Feature #7854

please add augeas version fact

Added by micah - over 3 years ago. Updated over 3 years ago.

Status:ClosedStart date:06/09/2011
Priority:NormalDue 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

We've Moved!

Ticket tracking is now hosted in JIRA: https://tickets.puppetlabs.com


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

#1 Updated by Adrien Thebo over 3 years 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.

#2 Updated by Anonymous over 3 years 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?

#3 Updated by James Turnbull over 3 years ago

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

#4 Updated by Dominic Cleal over 3 years 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.

#5 Updated by James Turnbull over 3 years ago

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

#6 Updated by Adrien Thebo over 3 years ago

  • Assignee deleted (Adrien Thebo)

#7 Updated by Adrien Thebo over 3 years ago

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

#8 Updated by Adrien Thebo over 3 years ago

Merged in a6dce5e191f288aa8fb52cf0df0e00a429f4ba9f

#9 Updated by Matthaus Owens over 3 years ago

  • Status changed from Merged - Pending Release to Closed
  • Target version changed from 144 to 1.6.1

Released in 1.6.1rc2

Also available in: Atom PDF