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

repo install broken on CentOS 7 #56

Open
samjaninf opened this issue Aug 7, 2015 · 1 comment
Open

repo install broken on CentOS 7 #56

samjaninf opened this issue Aug 7, 2015 · 1 comment

Comments

@samjaninf
Copy link

Just another quick note. Don't know if you were considering supporting any newer versions of CentOS because honestly it works fine on CentOS 6.6, but this line:

$misc_repo_operatingsystemrelease = $operatingsystemrelease,

just doesn't quite do it for CentOS 7.1 because of the way they changed the /etc/centos-release file.

A quick hack that worked for me was to do this:

  $misc_repo_operatingsystemrelease = $operatingsystemrelease ? {
    '6.6'   => '6.6',
    default => '7',
  },

Probably not the best way to handle it but it works.

@purpleidea
Copy link
Owner

@samjaninf Thanks for reporting the issue...
I believe the solution is to add a file in the data/params/RedHat/CentOS/ folder for Centos 7.1...
It should be a fairly straightforward patch. Feeling like sending it? It should look very similar to the existing 7.0.1406.yaml file that is already in that folder.

Cheers,
James

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

No branches or pull requests

2 participants