Install the correct versions of salt-common and salt-minion

Install the correct versions of salt-common and salt-minionΒΆ

This section describes the workaround for salt.virt to properly inject minion.conf.

To manually install the required version of salt-common and salt-minion:

  1. Log in to the physical node console

  2. Change the version to 2017.7 in /etc/apt/sources.list.d/salt.list:

    deb [arch=amd64] http://repo.saltstack.com/apt/ubuntu/16.04/amd64/2017.7/dists/ xenial main
    
  3. Sync the packages index files:

    apt-get update
    
  4. Verify the versions:

    apt-cache policy salt-common
    apt-cache policy salt-minion
    
  5. If the wrong versions are installed, remove them:

    apt-get remove salt-minion
    apt-get remove salt-common
    
  6. Install the required versions of salt-common and salt-minion:

    apt-get install salt-common=2017.7
    apt-get install salt-minion=2017.7
    
  7. Restart the salt-minion service to ensure connectivity with the Salt Master node:

    service salt-minion stop && service salt-minion start
    
  8. Verify that the required version is installed:

    apt-cache policy salt-common
    apt-cache policy salt-minion
    
  9. Repeat the procedure on each physical node.