def _get_pkgng_version(jail=None, chroot=None):
    return __salt__['cmd.run']([_pkg(jail, chroot), '--version']).strip()
return the version of 'pkg'
dataset/ETHPy150Open saltstack/salt/salt/modules/pkgng.py/_get_pkgng_version