def _get_modules_conf():
    if 'systemd' in __grains__:
        return '/etc/modules-load.d/salt_managed.conf'
    return '/etc/modules'
Return location of modules config file.
dataset/ETHPy150Open saltstack/salt/salt/modules/kmod.py/_get_modules_conf