puppet-rvm
puppet-rvm copied to clipboard
curl-devel dependency fails on Amazon Linux
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.