mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Add zmqversion grain
Like saltversion, this grain can help show the effective version of a particular component (in this case ZMQ) that is in use on the running minion, and help aid in troubleshooting.
This commit is contained in:
parent
93d7ff22ec
commit
1da97c6217
@ -1196,6 +1196,16 @@ def saltversion():
|
||||
return {'saltversion': __version__}
|
||||
|
||||
|
||||
def zmqversion():
|
||||
'''
|
||||
Return the zeromq version
|
||||
'''
|
||||
# Provides:
|
||||
# zmqversion
|
||||
import zmq
|
||||
return {'zmqversion': zmq.zmq_version()}
|
||||
|
||||
|
||||
def saltversioninfo():
|
||||
'''
|
||||
Return the version_info of salt
|
||||
|
Loading…
Reference in New Issue
Block a user