Changeset 1045 for opsi


Ignore:
Timestamp:
08/03/12 18:47:04 (8 years ago)
Author:
joergs
Message:

adapted for opsi4

File:
1 edited

Legend:

Unmodified
Added
Removed
  • opsi/server/opsi-tools-dass-it/usr/bin/opsi-getDepots.py

    r1043 r1045  
    1313#from OPSI.UI import *
    1414
    15 bm = BackendManager(authRequired = False, configFile = '/etc/opsi/backendManager.d')
     15#bm = BackendManager(authRequired = False, configFile = '/etc/opsi/backendManager.d')
     16bm = BackendManager(
     17                                dispatchConfigFile = u'/etc/opsi/backendManager/dispatch.conf',
     18                                backendConfigDir   = u'/etc/opsi/backends',
     19                                extensionConfigDir = u'/etc/opsi/backendManager/extend.d',
     20                                depotBackend       = False,
     21                                hostControlBackend = True
     22                        )
    1623depotIds = bm.getDepotIds_list()
    1724for i in range(len(depotIds)):
Note: See TracChangeset for help on using the changeset viewer.