commit | b58e2ac3e975df6f4eebe53ae4217b18bb47b4e9 | [log] [tgz] |
---|---|---|
author | Sapan Bhatia <gwsapan@gmail.com> | Wed Apr 15 13:31:12 2015 -0400 |
committer | Sapan Bhatia <gwsapan@gmail.com> | Wed Apr 15 13:34:44 2015 -0400 |
tree | 8d7b122af5f0cb6266da01b6c15837d428cac5b9 | |
parent | 6fc33046c09d3a4338ce4f8560b68d0612b783d2 [diff] |
Read xos_dir out of config file
diff --git a/xos/openstack_observer/ansible.py b/xos/openstack_observer/ansible.py index 96c8b7f..186ecab 100644 --- a/xos/openstack_observer/ansible.py +++ b/xos/openstack_observer/ansible.py
@@ -7,11 +7,7 @@ import string import random import re -from xos.config import Config - -# XXX hardcoded path -# is there any reason why we aren't importing xos.config ? -XOS_DIR="/opt/xos" +from xos.config import Config, XOS_DIR try: step_dir = Config().observer_steps_dir