forked from ungleich-public/cdist
add some pseudo code to adapt to changes
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
a0c984acdd
commit
7f85aab3ef
1 changed files with 11 additions and 0 deletions
|
@ -260,6 +260,17 @@ class ConfigInstall:
|
||||||
log.debug("Skipping rerun of object %s", cdist_object)
|
log.debug("Skipping rerun of object %s", cdist_object)
|
||||||
continue
|
continue
|
||||||
else:
|
else:
|
||||||
|
# FIXME: run_type_explorer:
|
||||||
|
# object can return type
|
||||||
|
# type has explorers
|
||||||
|
# path knows about where to save explorer output
|
||||||
|
# type = self.path.objects[object].type()
|
||||||
|
# self.path.types['type'].explorers()
|
||||||
|
# for explorer in explorers:
|
||||||
|
# output = cdist.exec.run_debug_or_fail_shell(explorer)
|
||||||
|
# if output:
|
||||||
|
# write_output_to(output, os.path.join(self.path.objects[object].explorer_dir(),explorer) )
|
||||||
|
#
|
||||||
self.run_type_explorer(cdist_object)
|
self.run_type_explorer(cdist_object)
|
||||||
self.run_type_manifest(cdist_object)
|
self.run_type_manifest(cdist_object)
|
||||||
self.objects_prepared.append(cdist_object)
|
self.objects_prepared.append(cdist_object)
|
||||||
|
|
Loading…
Reference in a new issue