Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #11010 from terminalmage/zmq-grain

Add zmqversion grain
  • Loading branch information...
commit 1aedd081b9b7853427149fd9cd27906cf3358249 2 parents ea8e62e + 1da97c6
@thatch45 thatch45 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.