blt04 / puppet-rvm

A puppet module for installing and using RVM (Ruby Version Manager)
Other
242 stars 280 forks source link

curl-devel dependency fails on Amazon Linux #106

Open catapultsoftworks opened 10 years ago

catapultsoftworks commented 10 years ago

Amazon linux runs down the centos dependencies path, but in /dependencies/centos.pp, there is a version number-specific conditional for the curl-devel / libcurl-devel dependency that only works on centos. Amazon Linux uses different numbering.

See operatingsystem / operatingsystemrelease values as of this writing: notice: The value is: Amazon notice: The value is: 3.4.68-59.97.amzn1.x86_64

Since the string doesn't start with 6, it drops to the default case of curl-devl instead of libcurl-devel, which is incorrect.

Not sure the preferred solution here; hence creating an issue vs pull request.