summaryrefslogtreecommitdiffstats
path: root/modules/host_definitions.py
blob: 3026986fd142471a0250f00730c9803466e4798d (plain)
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/env python
import dyn_module

def get(config):
    result = dict()
    for host_def_module in config:
        host_def_mod = dyn_module.load_module("modules/host_definitions/%s.py" % host_def_module)
        host_def_mod.get(config[host_def_module],result)

    return result