Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix params for old centos/redhat versions #165

Merged
merged 1 commit into from
Jun 13, 2015

Conversation

kam1kaze
Copy link
Contributor

Currently EPEL repository contains the same version of easy-rsa package for all CentOS/RedHat versions:
http://pkgs.org/search/easy-rsa

@luxflux
Copy link
Contributor

luxflux commented May 19, 2015

I am wondering, does this change frequently? Do they add new packages to EPEL during maintenance of a OS version? I don't know this from Debian/Ubuntu. There is a feature freeze and these versions/packages will be kept. Only security fixes will be backported. How handles this RedHat/CentOS?

@kam1kaze
Copy link
Contributor Author

From EPEL description:

EPEL (Extra Packages for Enterprise Linux) is a volunteer-based community effort from the Fedora project to create a repository of high-quality add-on packages that complement the Fedora-based Red Hat Enterprise Linux (RHEL) and its compatible spinoffs, such as CentOS and Scientific Linux.

You have to enable It manually and it can be compared with universe repo in Debian. The new packages can be added anytime to this repo. Also it uses feature freeze for exists version, but the rules are not so strict as in base repos.

Also this part of code was incorrect from the beginning because EPEL packages are not related to minor versions of distro.

  # Redhat/Centos >= 6.4
  } elsif(versioncmp($::operatingsystemrelease, '6.4') >= 0) {
    $additional_packages = ['easy-rsa']
    $easyrsa_source      = '/usr/share/easy-rsa/2.0'
    $systemd             = false

  # Redhat/Centos < 6.4 >= 6
  } elsif(versioncmp($::operatingsystemrelease, '6') >= 0) {
    $easyrsa_source = '/usr/share/openvpn/easy-rsa/2.0'
    $systemd        = false

I don't know when easy-rsa package was added for EPEL 5 (CentOS ~= 5.*). But currently it is there :)

luxflux added a commit that referenced this pull request Jun 13, 2015
fix params for old centos/redhat versions
@luxflux luxflux merged commit 97f8453 into voxpupuli:master Jun 13, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants