]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-deploy.git/commit
Modified the rpm_dist() and repository_url_part()
authorTom Walsh <tom.walsh@expresshosting.net>
Fri, 8 Aug 2014 21:27:22 +0000 (16:27 -0500)
committerAlfredo Deza <alfredo.deza@inktank.com>
Fri, 8 Aug 2014 23:34:40 +0000 (19:34 -0400)
commit8f7ffc674afa93fefe61810a2a176f861a4bc2fb
tree3b17580756220b1baf217dd0b7f2a46b87ef0c46
parent71adbdc52fd24debecd4013ce2828b96aae024a4
Modified the rpm_dist() and repository_url_part()

So they can use the newly defined distro.normalized_release object to determine
the correct OS version and return the information based on that. This should
work for all releases from RHEL, CentOS, and Scientific Linux 6 and greater.

Changed the test_centos.py file to use pytest fixtures to test multiple input
types for the various OSes we are testing for.

Signed-off-by: Tom Walsh <tom.walsh@expresshosting.net>
ceph_deploy/hosts/centos/install.py
ceph_deploy/tests/unit/hosts/test_centos.py