commit | 5155c5a60a4b46ff913064d9147627e49b235c54 | [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:31:12 2015 -0400 |
tree | 84f75ab2c59a2282f5c4870543e37a99f90e4abb | |
parent | a631319f4b3348b53f4a90393f9108dd69127d22 [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