code: def gte(name, value):
      '''
      Only succeed if the value in the given register location is greater or equal
      than the given value
  
      USAGE:
  
      .. code-block:: yaml
  
          foo:
            check.gte:
              - value: 42
  
          run_remote_ex:
            local.cmd:
              - tgt: '*'
              - func: test.ping
              - require:
                - check: foo
      '''
      ret = {'name': name,
             'result': False,
             'comment': '',
             'changes': {}}
      if name not in __reg__:
          ret['result'] = False
          ret['comment'] = 'Value {0} not in register'.format(name)
          return ret
      if __reg__[name]['val'] >= value:
          ret['result'] = True
      return ref gte(name, value):
      '''
      Only succeed if the value in the given register location is greater or equal
      than the given value
  
      USAGE:
  
      .. code-block:: yaml
  
          foo:
            check.gte:
              - value: 42
  
          run_remote_ex:
            local.cmd:
              - tgt: '*'
              - func: test.ping
              - require:
                - check: foo
      '''
      ret = {'name': name,
             'result': False,
             'comment': '',
             'changes': {}}
      if name not in __reg__:
          ret['result'] = False
          ret['comment'] = 'Value {0} not in register'.format(name)
          return ret
      if __reg__[name]['val'] >= value:
          ret['result'] = True
      return ret
docs: Only succeed if the value in the given register location is greater or equal
      than the given value
  
      USAGE:
  
      .. code-block:: yaml
  
          foo:
            check.gte:
              - value: 42
  
          run_remote_ex:
            local.cmd:
              - tgt: '*'
              - func: test.ping
              - require:
                - check: foo