Salt stack minion issue module ver 3003.X FIXED - workaround

Hi everyone , if you want to install salt stack minion on your Rocky Liunx , please consider this workaround:
open the file
/usr/lib/python3.6/site-packages/salt/grains/core.py and:

  • into the list _OS_NAME_MAP add at the end “rocky”: “Rocky” ,
  • into the list _OS_FAMILY_MAP add “Rocky”: “Redhat” ,
    Don’t forget to remove the comma if you adding that at the end of the list.
    Then restart salt stack minion