From 3c31b4f9a33ba9089a10caa6d91b7919be2689ea Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Sat, 15 Oct 2011 23:40:11 +0200 Subject: [PATCH] and finally also adjust the requirement itself Signed-off-by: Nico Schottelius --- lib/cdist/emulator.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/cdist/emulator.py b/lib/cdist/emulator.py index 875d3153..ddd9dfdb 100644 --- a/lib/cdist/emulator.py +++ b/lib/cdist/emulator.py @@ -166,6 +166,9 @@ class Emulator(object): # Remove / if existent in object id requirement_object_id = requirement_object_id.lstrip('/') + + # Construct cleaned up requirement with only one / :-) + requirement = requirement_type_name + '/' + requirement_object_id self.cdist_object.requirements.append(requirement) # Record / Append source