CERIT-SC / puppet-yum

Puppet module for Yum
MIT License
6 stars 114 forks source link

Fixed package prefix for CentOS 5 #9

Closed ekini closed 8 years ago

ekini commented 8 years ago

The package didn't work for CentOS 5. I've fixed it.

vholer commented 8 years ago

I have merged your PR, but I have also made a change to detect only by $::operatingsystemmajrelease and not the operating system name. We are running on RedHat family systems (i.e. Fedora and RHEL clones). Nobody will use Fedora 5 (10 years old system) on desktop or server for normal use, so it's enough to check the rest RHEL clones only by version.

Thank you for contribution.