code: def version():
      '''
      Return server version from varnishd -V
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' varnish.version
      '''
      cmd = ['varnishd', '-V']
      out = __salt__['cmd.run'](cmd, python_shell=False)
      ret = re.search(r'\(varnish-([^\)]+)\)', out).group(1)
      return ref version():
      '''
      Return server version from varnishd -V
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' varnish.version
      '''
      cmd = ['varnishd', '-V']
      out = __salt__['cmd.run'](cmd, python_shell=False)
      ret = re.search(r'\(varnish-([^\)]+)\)', out).group(1)
      return ret
docs: Return server version from varnishd -V
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' varnish.version