Add Cumulus support to aptpkg (#32504)

Cumulus is a Debian based switch OS, needs support for pkg installs.
This commit is contained in:
Ryan Walder 2016-04-12 15:15:14 +01:00 committed by Mike Place
parent fd6dd86fae
commit 5d760c1f46

View File

@ -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')