code: def version():
      '''
      Shows installed version of dnsmasq.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' dnsmasq.version
      '''
      cmd = 'dnsmasq -v'
      out = __salt__['cmd.run'](cmd).splitlines()
      comps = out[0].split()
      return comps[2f version():
      '''
      Shows installed version of dnsmasq.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' dnsmasq.version
      '''
      cmd = 'dnsmasq -v'
      out = __salt__['cmd.run'](cmd).splitlines()
      comps = out[0].split()
      return comps[2]
docs: Shows installed version of dnsmasq.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' dnsmasq.version