mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Update os_name_map in core grains for new manjaro systems
This commit is contained in:
parent
aa7c839fc5
commit
e4dd72a3e7
2 changed files with 2 additions and 1 deletions
|
@ -1047,6 +1047,7 @@ _OS_NAME_MAP = {
|
|||
'synology': 'Synology',
|
||||
'nilrt': 'NILinuxRT',
|
||||
'manjaro': 'Manjaro',
|
||||
'manjarolin': 'Manjaro',
|
||||
'antergos': 'Antergos',
|
||||
'sles': 'SUSE',
|
||||
'slesexpand': 'RES',
|
||||
|
|
|
@ -37,7 +37,7 @@ def __virtual__():
|
|||
'''
|
||||
Set the virtual pkg module if the os is Arch
|
||||
'''
|
||||
if __grains__['os_family'] in ('Arch', 'ManjaroLinux'):
|
||||
if __grains__['os_family'] == 'Arch':
|
||||
return __virtualname__
|
||||
return (False, 'The pacman module could not be loaded: unsupported OS family.')
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue