Example #1
0
    def __init__(self,
                 context,
                 name='copy',
                 description=DESC_COPY,
                 module_count_threshold=constants.DISPLAY_MODULES_THRESHOLD):
        UnitCopyCommand.__init__(self,
                                 context,
                                 name=name,
                                 description=description,
                                 method=self.run,
                                 type_id=constants.TYPE_PUPPET_MODULE)

        self.module_count_threshold = module_count_threshold
Example #2
0
    def __init__(self, context, name='copy', description=DESC_COPY,
                 module_count_threshold=constants.DISPLAY_MODULES_THRESHOLD):
        UnitCopyCommand.__init__(self, context, name=name, description=description,
                                 method=self.run, type_id=constants.TYPE_PUPPET_MODULE)

        self.module_count_threshold = module_count_threshold
Example #3
0
 def __init__(self, context):
     UnitCopyCommand.__init__(self, context, type_id=TYPE_ID_ISO)
Example #4
0
 def __init__(self, context):
     UnitCopyCommand.__init__(self, context, type_id=constants.DEB_TYPE_ID)
    def __init__(self, context, name, description, type_id, unit_threshold=DISPLAY_UNITS_THRESHOLD):
        UnitCopyCommand.__init__(self, context, name=name, description=description, type_id=type_id)

        self.unit_threshold = unit_threshold
Example #6
0
 def __init__(self, context):
     UnitCopyCommand.__init__(self, context, type_id=TYPE_ID_ISO)