summaryrefslogtreecommitdiffstats
path: root/doctor_tests/installer/common/vitrage.py
diff options
context:
space:
mode:
Diffstat (limited to 'doctor_tests/installer/common/vitrage.py')
-rw-r--r--doctor_tests/installer/common/vitrage.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/doctor_tests/installer/common/vitrage.py b/doctor_tests/installer/common/vitrage.py
index 30a73f5d..801adff5 100644
--- a/doctor_tests/installer/common/vitrage.py
+++ b/doctor_tests/installer/common/vitrage.py
@@ -9,8 +9,11 @@
import os
+vi_base = "/var/lib/config-data/puppet-generated/vitrage"
+if not os.path.isdir(vi_base):
+ vi_base = ""
vitrage_template_file = \
- '/etc/vitrage/templates/vitrage_host_down_scenarios.yaml'
+ vi_base + '/etc/vitrage/templates/vitrage_host_down_scenarios.yaml'
template = """
metadata: