camptocamp/puppet-augeas — pull request #24 by phemmer (2013-04-16 17:54:38+00:00)
Title: Better detection of ruby version

This changes the way the module determines the name of the `libaugeas-ruby` package on debian.

The previous method relied upon hard-coded release names. Aside from the fact that this requires the module to keep track of every single release name available, it also doesn't consider the possibility that ruby has been upgraded.

The solution is to use the `rubyversion` fact which is already provided and contains the version of ruby that puppet itself is running under.