salt.grains.package

Grains for detecting what type of package Salt is using

New in version 3007.0.

salt.grains.package.package()

Function to determine if the user is currently using onedir, pip or system level package of Salt.