mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
Add Cumulus support to aptpkg (#32504)
Cumulus is a Debian based switch OS, needs support for pkg installs.
This commit is contained in:
parent
fd6dd86fae
commit
5d760c1f46
@ -89,6 +89,8 @@ def __virtual__():
|
||||
return __virtualname__
|
||||
elif __grains__.get('os_family', False) == 'Debian':
|
||||
return __virtualname__
|
||||
elif __grains__.get('os_family', False) == 'Cumulus':
|
||||
return __virtualname__
|
||||
return (False, 'The pkg module could not be loaded: unsupported OS family')
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user