summaryrefslogtreecommitdiffstats
path: root/deploy/reap.py
diff options
context:
space:
mode:
Diffstat (limited to 'deploy/reap.py')
-rw-r--r--[-rwxr-xr-x]deploy/reap.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/deploy/reap.py b/deploy/reap.py
index 22a55e75a..1262d4c71 100755..100644
--- a/deploy/reap.py
+++ b/deploy/reap.py
@@ -137,9 +137,8 @@ class Reap(object):
def reap_transformation(self, node_id, roles, transformations):
main_role = 'controller' if 'controller' in roles else 'compute'
- node_file = glob.glob('%s/deployment_%s/*%s_%s.yaml'
- % (self.temp_dir, self.env_id,
- main_role, node_id))
+ node_file = glob.glob('%s/deployment_%s/%s.yaml'
+ % (self.temp_dir, self.env_id, node_id))
tr_name = None
with open(node_file[0]) as f:
node_config = yaml.load(f)