mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Update modules path for operating systems using systemd
This commit is contained in:
parent
3728b3f327
commit
3e08840988
1 changed files with 1 additions and 1 deletions
|
@ -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'
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue