code: def set_host_def(self, hostdef):
          '''
          Sets the hostdef param which will get passed to the Host Agent which
          the agency starts if it becomes the master.
          '''
          if self._hostdef is not None:
              self.info("Overwriting previous hostdef, which was %r",
                        self._hostdef)
          self._hostdef = hostdef set_host_def(self, hostdef):
          '''
          Sets the hostdef param which will get passed to the Host Agent which
          the agency starts if it becomes the master.
          '''
          if self._hostdef is not None:
              self.info("Overwriting previous hostdef, which was %r",
                        self._hostdef)
          self._hostdef = hostdef
docs: Sets the hostdef param which will get passed to the Host Agent which
          the agency starts if it becomes the master.