Fix toolchain not to break cmake by creating unnecessary symlink.
@@ -260,8 +260,9 @@ class bigtop_toolchain::packages {
command => "/usr/bin/pip3 freeze --all; /usr/bin/pip3 --version; /usr/bin/pip3 install -q flake8 wheel",
}
+ if $osfamily == 'RedHat' {
if ($operatingsystem == 'Fedora' and versioncmp($operatingsystemmajrelease, '31') >= 0) or
- ($osfamily == 'RedHat' and $operatingsystem != 'Fedora' and versioncmp($operatingsystemmajrelease, '8') >= 0) {
+ ($operatingsystem != 'Fedora' and versioncmp($operatingsystemmajrelease, '8' ) >= 0) {
file { '/usr/bin/python':
ensure => 'link',
target => '/usr/bin/python2',
@@ -273,3 +274,4 @@ class bigtop_toolchain::packages {
}
}
}
+}
