Merge pull request #24535 from rallytime/bp-24518

Back-port #24518 to 2015.5
This commit is contained in:
Thomas S Hatch 2015-06-09 14:06:18 -06:00
commit dbd49b4acb

View file

@ -52,7 +52,7 @@ def _get_modules_conf():
Return location of modules config file.
Default: /etc/modules
'''
if __grains__['os'] == 'Arch':
if 'systemd' in __grains__:
return '/etc/modules-load.d/salt_managed.conf'
return '/etc/modules'