code: def version():
      '''
      Return the actual lxc client version
  
      .. versionadded:: 2015.8.0
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' lxc.version
  
      '''
      k = 'lxc.version'
      if not __context__.get(k, None):
          cversion = __salt__['cmd.run_all']('lxc-info --version')
          if not cversion['retcode']:
              ver = _LooseVersion(cversion['stdout'])
              if ver < _LooseVersion('1.0'):
                  raise CommandExecutionError('LXC should be at least 1.0')
              __context__[k] = "{0}".format(ver)
      return __context__.get(k, Nonef version():
      '''
      Return the actual lxc client version
  
      .. versionadded:: 2015.8.0
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' lxc.version
  
      '''
      k = 'lxc.version'
      if not __context__.get(k, None):
          cversion = __salt__['cmd.run_all']('lxc-info --version')
          if not cversion['retcode']:
              ver = _LooseVersion(cversion['stdout'])
              if ver < _LooseVersion('1.0'):
                  raise CommandExecutionError('LXC should be at least 1.0')
              __context__[k] = "{0}".format(ver)
      return __context__.get(k, None)
docs: Return the actual lxc client version
  
      .. versionadded:: 2015.8.0
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' lxc.version