From 20f93a98df218ecf3d4dddac6c24bee9c1ba7e32 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Sun, 3 Jul 2016 21:04:30 -0400 Subject: Parse local hosts.ini if it exists --- steuermann/run_all.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'steuermann/run_all.py') diff --git a/steuermann/run_all.py b/steuermann/run_all.py index d4c3f3d..48a5804 100644 --- a/steuermann/run_all.py +++ b/steuermann/run_all.py @@ -107,6 +107,10 @@ def main() : else : hosts_ini = os.path.join(os.path.dirname(__file__), 'hosts.ini') + # Use a user-defined config if it exists + if os.path.exists(config.hosts_config): + hosts_ini = config.hosts_config + # parse common resources from hosts INI file get_common_resources(hosts_ini) -- cgit