mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #36803 from gtmanfred/2016.3
do not load libvirt pillar if certtool is unavailable
This commit is contained in:
commit
b75130be2d
1 changed files with 4 additions and 0 deletions
|
@ -15,6 +15,10 @@ import subprocess
|
|||
import salt.utils
|
||||
|
||||
|
||||
def __virtual__():
|
||||
return salt.utils.which('certtool') is not None
|
||||
|
||||
|
||||
def ext_pillar(minion_id,
|
||||
pillar, # pylint: disable=W0613
|
||||
command): # pylint: disable=W0613
|
||||
|
|
Loading…
Add table
Reference in a new issue