Unable to find 'curl-devel' package on Oracle Linux using YUM package manager
…s list, after YUM couldn't find a curl-devel package
Added dependency support for Oracle Linux (tested on 5.7)
explicitly scope the $::operatingsystem variable
that prevents the following warning being printed on puppet 2.7.11 (and possibly other versions): "warning: Dynamic lookup of $operatingsystem at /etc/puppet/modules/rvm/manifests/system_user.pp:4 is deprecated. Support will be removed in Puppet 2.8. Use a fully-qualified variable name (e.g., $classname::variable) or parameterized classes."
Removing duplicate package definition
Install script bug fix
A couple of CentOS changes, along with a change for old-ass versions of passenger
…uppet doesn't follow that change
Using rvm --default use 1.9.2 no longer works in scripting mode. We use rvm alias create default instead. Also fix a bug that prevents the default from being set when fist installing a ruby version. References #30.
Newer RVM versions exit with an error status when trying to list gems and gemsets for a Ruby version that is not installed
This enables installing RVM and rubies in one puppet run. References #29.
It is still best to define these resources outside of RVM, but this should make rvm::system_user work even if the user isn't previously defined.