+globalexplorer start
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
886c1d32ac
commit
359e5156e2
1 changed files with 15 additions and 0 deletions
15
lib/cdist/core/globalexplorer.py
Normal file
15
lib/cdist/core/globalexplorer.py
Normal file
|
@ -0,0 +1,15 @@
|
|||
# FIXME: Explorer or stays
|
||||
def global_explorer_output_path(self, explorer):
|
||||
"""Returns path of the output for a global explorer"""
|
||||
return os.path.join(self.global_explorer_out_dir, explorer)
|
||||
|
||||
# FIXME Stays here / Explorer?
|
||||
def remote_global_explorer_path(self, explorer):
|
||||
"""Returns path to the remote explorer"""
|
||||
return os.path.join(REMOTE_GLOBAL_EXPLORER_DIR, explorer)
|
||||
|
||||
# FIXME: stays here
|
||||
def list_global_explorers(self):
|
||||
"""Return list of available explorers"""
|
||||
return os.listdir(self.global_explorer_dir)
|
||||
|
Loading…
Reference in a new issue