commit a3a1c4e96f6dc310b13e66fc5a90a5ea690b8218
Author: Alexandru Avadanii <email address hidden>
Date: Wed Dec 14 15:40:41 2016 +0100
puppet: cobbler: Fix CentOS version detection
Recently, CentOS released version 7.3.1611, which triggered a latent
bug in fuel-library puppet scripts related to differentiating between
6.x and 7.x major versions: 7.3.1611 is wrongly detected as 6.x,
leading to the wrong packages being attempted to be installed,
leaving nailgun server service broken on the Fuel Master node.
This change forces the match at the beggining of the version string
(e.g. "/^6.+/: {" instead of "/6.+/: {"), so the new CentOS 7.3.1611
no longer matches the condition for 6.x).
Closes-bug: 1649895
Change-Id: I8873701d24e406e2804b9e654decb776ec3bf61c
Signed-off-by: Alexandru Avadanii <email address hidden>
(cherry picked from commit 9d3f3f1fd08e7179f543612ff8fb4f64ebd5077d)
Reviewed: https:/ /review. openstack. org/410858 /git.openstack. org/cgit/ openstack/ fuel-library/ commit/ ?id=a3a1c4e96f6 dc310b13e66fc5a 90a5ea690b8218
Committed: https:/
Submitter: Jenkins
Branch: stable/8.0
commit a3a1c4e96f6dc31 0b13e66fc5a90a5 ea690b8218
Author: Alexandru Avadanii <email address hidden>
Date: Wed Dec 14 15:40:41 2016 +0100
puppet: cobbler: Fix CentOS version detection
Recently, CentOS released version 7.3.1611, which triggered a latent
bug in fuel-library puppet scripts related to differentiating between
6.x and 7.x major versions: 7.3.1611 is wrongly detected as 6.x,
leading to the wrong packages being attempted to be installed,
leaving nailgun server service broken on the Fuel Master node.
This change forces the match at the beggining of the version string
(e.g. "/^6.+/: {" instead of "/6.+/: {"), so the new CentOS 7.3.1611
no longer matches the condition for 6.x).
Closes-bug: 1649895
Change-Id: I8873701d24e406 e2804b9e654decb 776ec3bf61c 9f543612ff8fb4f 64ebd5077d)
Signed-off-by: Alexandru Avadanii <email address hidden>
(cherry picked from commit 9d3f3f1fd08e717