Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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.
  • Loading branch information...
commit 1da97c62174ded66b9d751fb916f37362b4f8a87 1 parent 93d7ff2
@terminalmage terminalmage authored
Showing with 10 additions and 0 deletions.
  1. +10 −0 salt/grains/core.py
View
10 salt/grains/core.py
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.