Skip to content
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.

Midokura repo URLs should use RHEL 7 repo when using CentOS/RHEL7 #30

Open
shaon opened this issue Mar 29, 2016 · 0 comments
Open

Midokura repo URLs should use RHEL 7 repo when using CentOS/RHEL7 #30

shaon opened this issue Mar 29, 2016 · 0 comments

Comments

@shaon
Copy link
Member

shaon commented Mar 29, 2016

currently it points to only rhel 6 repo,
https://github.com/eucalyptus/midokura-cookbook/blob/master/recipes/_common.rb#L20-L26
https://github.com/eucalyptus/midokura-cookbook/blob/master/attributes/default.rb#L11

Perhaps use something like this,

if Chef::VersionConstraint.new("~> 7.0").include?(node['platform_version'])
...
end
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant