mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Merge pull request #29899 from abednarik/virtual_ret_pkgng_module
modules.pkgng: __virtual__ return err msg.
This commit is contained in:
commit
ebf0911208
@ -66,7 +66,9 @@ def __virtual__():
|
|||||||
log.debug('Configuration option \'providers:pkg\' is set to '
|
log.debug('Configuration option \'providers:pkg\' is set to '
|
||||||
'\'pkgng\', using \'pkgng\' in favor of \'freebsdpkg\'.')
|
'\'pkgng\', using \'pkgng\' in favor of \'freebsdpkg\'.')
|
||||||
return __virtualname__
|
return __virtualname__
|
||||||
return False
|
return (False,
|
||||||
|
'The pkgng execution module cannot be loaded: only available '
|
||||||
|
'on FreeBSD 10 or FreeBSD 9 with providers.pkg set to pkgng.')
|
||||||
|
|
||||||
|
|
||||||
def _pkg(jail=None, chroot=None):
|
def _pkg(jail=None, chroot=None):
|
||||||
|
Loading…
Reference in New Issue
Block a user