voxpupuli / puppet-augeas

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

Extend module to support modern versions of ruby #39

Closed igalic closed 3 years ago

igalic commented 10 years ago

We use the brightbox PPA to pull in Ruby 1.9.x on Ubuntu precise (old LTS) and will use it to pull in Ruby 2.1.x into Ubuntu trusty (new LTS).

We'll need to extend the support here. (As there is no direct support from Ubuntu, and it doesn't exist in @raphink's ppa yet either, for now we'd have to install ruby-augeas from gem.

That in turn requires libaugeas-dev and pkg-config. The latter of which is problematic, since it could be managed in other modules.

raphink commented 10 years ago

So you would like my PPA to depend on brightbox's and provide ruby-augeas for Ruby 2.1.x, and then make it available through this module?

igalic commented 10 years ago

I don't think it's necessary to have a _hard_ dependency on brightbox. Brightbox is just a convenience for people who want the latest (1.9, 2.0, 2.1) — unfortunately, they don't support each of those for all Ubuntu releases either :\

raphink commented 9 years ago

So what do you suggest exactly?

antaflos commented 9 years ago

@raphink Just stumbled across this again. I am evaluating how painful or easy it is to upgrade to at least Ruby 2.1 on Ubuntu 12.04 and 14.04 (in both cases from 1.9.3). We use Brightbox's Ruby-NG PPA which is probably the only worthwhile source of packages for modern Ruby on older Ubuntu versions. Seems they provide Ruby 1.8.7, 1.9.3, 2.0, 2.1 and 2.2 for all Ubuntu versions.

Your PPA only provides libaugeas-ruby1.9.1 and libaugeas-ruby1.8 for Ubuntu 12.04 and 14.04 so naturally Augeas will not work after switching to Ruby 2.1.

What can we do here?

I think making your PPA depend on Brightbox's for libaugeas-ruby2.0, libaugeas-ruby2.1 and libaugeas-ruby2.2 is feasible since those who need to run modern Ruby on older Ubuntu versions must use the Brightbox PPAs anyway (or package their own Ruby in which case they can probably package their own Augeas as well).

raphink commented 9 years ago

I'm wondering if this is really worth the effort, considering Puppet 4 now comes in AIO package which provide Ruby itself. People who care to use recent software will most lilkely use that and not required Ruby backports.

igalic commented 9 years ago

same, except puppet 4 seems to be… still quite painful to use :(

raphink commented 9 years ago

It's a necessary pain, it will make you better on the long run ;-)

igalic commented 9 years ago

… but… will it make puppet better?


i'm not even sure what i mean with that.

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.