Merge inventory from beta branch.
This commit is contained in:
parent
2b6177c9f7
commit
e2a1519332
28 changed files with 1769 additions and 36 deletions
|
|
@ -49,6 +49,7 @@ class Local(object):
|
|||
"""
|
||||
def __init__(self,
|
||||
target_host,
|
||||
target_host_tags,
|
||||
base_root_path,
|
||||
host_dir_name,
|
||||
exec_path=sys.argv[0],
|
||||
|
|
@ -58,6 +59,10 @@ class Local(object):
|
|||
quiet_mode=False):
|
||||
|
||||
self.target_host = target_host
|
||||
if target_host_tags is None:
|
||||
self.target_host_tags = ""
|
||||
else:
|
||||
self.target_host_tags = ",".join(target_host_tags)
|
||||
self.hostdir = host_dir_name
|
||||
self.base_path = os.path.join(base_root_path, "data")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue