def init_paths(WorkspaceID):
    global conf_path
    global omi_map_path
    global multi_homed
    omsagent_dir = '/etc/opt/microsoft/omsagent/'
    mh_conf_dir = ((omsagent_dir + WorkspaceID) + '/conf')
    multi_homed = os.path.isdir(mh_conf_dir)
    if multi_homed:
        LG().Log('INFO', ('OMSAgent is multi-homed and resource is updating workspace ' + WorkspaceID))
        conf_path = (mh_conf_dir + '/omsagent.conf')
        omi_map_path = (mh_conf_dir + '/omsagent.d/omi_mapping.json')
def init_paths(WorkspaceID):
    global conf_path
    global omi_map_path
    global multi_homed
    omsagent_dir = '/etc/opt/microsoft/omsagent/'
    mh_conf_dir = ((omsagent_dir + WorkspaceID) + '/conf')
    multi_homed = os.path.isdir(mh_conf_dir)
    if multi_homed:
        LG().Log('INFO', ('OMSAgent is multi-homed and resource is updating workspace ' + WorkspaceID))
        conf_path = (mh_conf_dir + '/omsagent.conf')
        omi_map_path = (mh_conf_dir + '/omsagent.d/omi_mapping.json')