forked from ungleich-public/cdist
config+install is broken now due to refactoring
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
68889c4bf7
commit
a0c984acdd
1 changed files with 2 additions and 0 deletions
|
@ -81,6 +81,7 @@ class ConfigInstall:
|
||||||
cdist.exec.run_or_fail(cmd, stdout=output_fd, remote_prefix=self.remote_prefix)
|
cdist.exec.run_or_fail(cmd, stdout=output_fd, remote_prefix=self.remote_prefix)
|
||||||
output_fd.close()
|
output_fd.close()
|
||||||
|
|
||||||
|
# FIXME: where to call this from?
|
||||||
def run_type_explorer(self, cdist_object):
|
def run_type_explorer(self, cdist_object):
|
||||||
"""Run type specific explorers for objects"""
|
"""Run type specific explorers for objects"""
|
||||||
|
|
||||||
|
@ -97,6 +98,7 @@ class ConfigInstall:
|
||||||
# Need to transfer at least the parameters for objects to be useful
|
# Need to transfer at least the parameters for objects to be useful
|
||||||
self.path.transfer_object_parameter(cdist_object)
|
self.path.transfer_object_parameter(cdist_object)
|
||||||
|
|
||||||
|
# FIXME: Broken due to refactoring into type.py
|
||||||
explorers = self.path.list_type_explorers(type)
|
explorers = self.path.list_type_explorers(type)
|
||||||
for explorer in explorers:
|
for explorer in explorers:
|
||||||
remote_cmd = cmd + [os.path.join(self.path.remote_type_explorer_dir(type), explorer)]
|
remote_cmd = cmd + [os.path.join(self.path.remote_type_explorer_dir(type), explorer)]
|
||||||
|
|
Loading…
Reference in a new issue