forked from ungleich-public/cdist
++debug
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
parent
a8e8d7b227
commit
cf6139504b
1 changed files with 3 additions and 0 deletions
|
@ -106,10 +106,13 @@ class ConfigInstall(object):
|
||||||
|
|
||||||
def run_type_explorers(self, cdist_object):
|
def run_type_explorers(self, cdist_object):
|
||||||
"""Run type explorers and save output in object."""
|
"""Run type explorers and save output in object."""
|
||||||
|
self.log.debug("Transfering type explorers for type: %s", cdist_object.type)
|
||||||
self.explorer.transfer_type_explorers(cdist_object.type)
|
self.explorer.transfer_type_explorers(cdist_object.type)
|
||||||
|
self.log.debug("Transfering object parameters for object: %s", cdist_object.name)
|
||||||
self.explorer.transfer_object_parameters(cdist_object)
|
self.explorer.transfer_object_parameters(cdist_object)
|
||||||
for explorer in self.explorer.list_type_explorer_names(cdist_object.type):
|
for explorer in self.explorer.list_type_explorer_names(cdist_object.type):
|
||||||
output = self.explorer.run_type_explorer(explorer, cdist_object)
|
output = self.explorer.run_type_explorer(explorer, cdist_object)
|
||||||
|
self.log.debug("Running type explorer '%s' for object '%s'", explorer, cdist_object.name)
|
||||||
print("run_type_explorers: %s = %s" % (explorer, output))
|
print("run_type_explorers: %s = %s" % (explorer, output))
|
||||||
cdist_object.explorers[explorer] = output
|
cdist_object.explorers[explorer] = output
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue