commit | 84cdde709dee20dc7496ed48161582079c57212b | [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 | 8034bac0a953fed5d15b5923de88e9c6c7157643 [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