voxpupuli / puppet-augeas

Helper for using augeas with puppet
Apache License 2.0
43 stars 82 forks source link

The package version of the augeas library does not map to the ruby version #38

Closed Aethylred closed 10 years ago

Aethylred commented 10 years ago

Given the example below, the package versions for libaugeas-ruby, libaugeas-ruby1.8, and libaugeas-ruby1.9 is 0.5.2 and has no relationship to a specified Ruby version (this is handled by the package name prefix)

http://packages.ubuntu.com/search?keywords=libaugeas-ruby&searchon=names&suite=trusty&section=all.

It would be better to use the present, installed or latest ensure directive.

Aethylred commented 10 years ago

Similarly, for Debian: https://packages.debian.org/search?keywords=libaugeas-ruby&searchon=names&suite=stable&section=all

Package release version is 0.4.1-1.1, again not related to Ruby version.

Aethylred commented 10 years ago

Finally for Fedora:

https://apps.fedoraproject.org/packages/ruby-augeas?_csrf_token=92980b04875f3197d57f25180d3ea2e9249f3c10

CentOS and RedHat don't have nice searchable package interfaces, but do have similar package versions to Fedora.

mcanevet commented 10 years ago

augeas::ruby_version is the desired version of the Ruby bindings for Augeas, not the ruby version.