def list(self, where):
        '''
        List the current schedule items
        '''
        if where == 'pillar':
            schedule = self._get_schedule(include_opts=False)
        elif where == 'opts':
            schedule = self._get_schedule(include_pillar=False)
        else:
            schedule = self._get_schedule()

        # Fire the complete event back along with the list of schedule
        evt = salt.utils.event.get_event('minion', opts=self.opts, listen=False)
        evt.fire_event({'complete': True, 'schedule': schedule},
                       tag='/salt/minion/minion_schedule_list_complete')
def list ( self , where ) : if where == 'pillar' : schedule = self . _get_schedule ( include_opts = False ) elif where == 'opts' : schedule = self . _get_schedule ( include_pillar = False ) else : schedule = self . _get_schedule ( ) evt = salt . utils . event . get_event ( 'minion' , opts = self . opts , listen = False ) evt . fire_event ( { 'complete' : True , 'schedule' : schedule } , tag = '/salt/minion/minion_schedule_list_complete' )
List the current schedule items