]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-deploy.git/commit
Modified the system to handle subversion numbers in the release number. For instance...
authorTom Walsh <tom.walsh@expresshosting.net>
Fri, 8 Aug 2014 03:48:59 +0000 (22:48 -0500)
committerAlfredo Deza <alfredo.deza@inktank.com>
Fri, 8 Aug 2014 23:34:39 +0000 (19:34 -0400)
commit2204afee8a14a7d80585f1e9cb03b4f24d5e2923
treec50aab91e7e1eb531038998d23619465394ca0ee
parente164626f6aa54e32664286d883c9130ed45600d8
Modified the system to handle subversion numbers in the release number. For instance in production our server was reporting a release version of 7.0.1406. This is not a valid float() so the system was returning an el6 value. I have added additional logic to find the first . (dot) in the string and convert that to a float value.

I have also added a test to look for and test this corner case.
ceph_deploy/hosts/centos/install.py
ceph_deploy/tests/unit/hosts/test_centos.py