def enable_schedule(self):
        '''
        Enable the scheduler.
        '''
        self.opts['schedule']['enabled'] = True

        # Fire the complete event back along with updated list of schedule
        evt = salt.utils.event.get_event('minion', opts=self.opts, listen=False)
        evt.fire_event({'complete': True, 'schedule': self._get_schedule()},
                       tag='/salt/minion/minion_schedule_enabled_complete')
def enable_schedule ( self ) : self . opts [ 'schedule' ] [ 'enabled' ] = True evt = salt . utils . event . get_event ( 'minion' , opts = self . opts , listen = False ) evt . fire_event ( { 'complete' : True , 'schedule' : self . _get_schedule ( ) } , tag = '/salt/minion/minion_schedule_enabled_complete' )
Enable the scheduler.