code: def add_reactor(self, tag, reaction):
          '''
          Add a reactor
          '''
          reactors = self.list_all()
          for reactor in reactors:
              _tag = next(six.iterkeys(reactor))
              if _tag == tag:
                  return {'status': False, 'comment': 'Reactor already exists.'}
  
          self.minion.opts['reactor'].append({tag: reaction})
          return {'status': True, 'comment': 'Reactor added.'f add_reactor(self, tag, reaction):
          '''
          Add a reactor
          '''
          reactors = self.list_all()
          for reactor in reactors:
              _tag = next(six.iterkeys(reactor))
              if _tag == tag:
                  return {'status': False, 'comment': 'Reactor already exists.'}
  
          self.minion.opts['reactor'].append({tag: reaction})
          return {'status': True, 'comment': 'Reactor added.'}
docs: Add a reactor