We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vmwaretools v4.4.1 fails to start the vmware tools service on RHEL6 if "manage_repository" is false because it does not compute "majdistrelease"
naive patch below:
--- modules/vmwaretools/manifests/init.pp +++ modules/vmwaretools/manifests/init.pp @@ -220,23 +220,23 @@ $yum_basearch = $tools_version ? { /3\..+/ => $vmwaretools::params::yum_basearch_4x, /4\..+/ => $vmwaretools::params::yum_basearch_4x, default => $vmwaretools::params::yum_basearch_5x, } + + $majdistrelease = $::lsbmajdistrelease ? { + '' => regsubst($::operatingsystemrelease,'^(\d+)\.(\d+)','\1'), + default => $::lsbmajdistrelease, + } if $manage_repository { # We use $::operatingsystem and not $::osfamily because certain things # (like Fedora) need to be excluded. case $::operatingsystem { 'RedHat', 'CentOS', 'Scientific', 'SLC', 'Ascendos', 'PSBM', 'OracleLinux', 'OVS', 'OEL', 'SLES', 'SLED', 'OpenSuSE', 'SuSE': { - $majdistrelease = $::lsbmajdistrelease ? { - '' => regsubst($::operatingsystemrelease,'^(\d+)\.(\d+)','\1'), - default => $::lsbmajdistrelease, - } - if ( $yum_path == $vmwaretools::params::yum_path ) or ( $just_prepend_yum_path == true ) { $gpgkey_url = "${yum_server}${yum_path}/keys/" $baseurl_url = "${yum_server}${yum_path}/esx/${tools_version}/${vmwaretools::params::baseurl_string}${majdistrelease}/${yum_basearch}/" } else { $gpgkey_url = "${yum_server}${yum_path}/"
The text was updated successfully, but these errors were encountered:
Oh, poop. I missed that bit. :-( I will try and get out a hotfix.
Sorry, something went wrong.
@rkeene : It should be fixed in b35a888 or in 4.5.0 on the Forge.
Please reopen if this problem is not resolved.
razorsedge
No branches or pull requests
vmwaretools v4.4.1 fails to start the vmware tools service on RHEL6 if "manage_repository" is false because it does not compute "majdistrelease"
naive patch below:
The text was updated successfully, but these errors were encountered: