{"action":"closed","issue":{"url":"https://api.github.com/repos/chef-cookbooks/yum-repoforge/issues/3","labels_url":"https://api.github.com/repos/chef-cookbooks/yum-repoforge/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/chef-cookbooks/yum-repoforge/issues/3/comments","events_url":"https://api.github.com/repos/chef-cookbooks/yum-repoforge/issues/3/events","html_url":"https://github.com/chef-cookbooks/yum-repoforge/issues/3","id":50655951,"number":3,"title":"Does not work for Centos/RedHat >= 7","user":{"login":"DLade","id":480515,"avatar_url":"https://avatars.githubusercontent.com/u/480515?v=3","gravatar_id":"","url":"https://api.github.com/users/DLade","html_url":"https://github.com/DLade","followers_url":"https://api.github.com/users/DLade/followers","following_url":"https://api.github.com/users/DLade/following{/other_user}","gists_url":"https://api.github.com/users/DLade/gists{/gist_id}","starred_url":"https://api.github.com/users/DLade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DLade/subscriptions","organizations_url":"https://api.github.com/users/DLade/orgs","repos_url":"https://api.github.com/users/DLade/repos","events_url":"https://api.github.com/users/DLade/events{/privacy}","received_events_url":"https://api.github.com/users/DLade/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-12-02T14:21:24Z","updated_at":"2015-06-21T21:07:27Z","closed_at":"2015-06-21T21:07:27Z","body":"The current implementation does not work for Centos/RedHat >= 7.\r\n\r\nWorkaround (for own cookbooks):\r\n```ruby\r\nif platform_family?('rhel') && platform_version.to_i >= 7\r\n  node.default['yum']['repoforge']['enabled'] = true\r\n  node.default['yum']['repoforge']['mirrorlist'] =\r\n    'http://mirrorlist.repoforge.org/el7/mirrors-repoforge'\r\n  node.default['yum']['repoforge-extras']['mirrorlist'] =\r\n    'http://mirrorlist.repoforge.org/el7/mirrors-repoforge-extras'\r\n  node.default['yum']['repoforge-testing']['mirrorlist'] =\r\n    'http://mirrorlist.repoforge.org/el7/mirrors-repoforge-testing'\r\n  node.default['yum']['rpmforge']['mirrorlist'] =\r\n    'http://mirrorlist.repoforge.org/el7/mirrors-rpmforge'\r\n  node.default['yum']['rpmforge-extras']['mirrorlist'] =\r\n    'http://mirrorlist.repoforge.org/el7/mirrors-rpmforge-extras'\r\nend\r\n```"}}