Skip to content

repo install broken on CentOS 7 #56

@samjaninf

Description

@samjaninf

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions