From 56e1fc9eb8f47be7139aea1eb1f3e1af3a2be8d5 Mon Sep 17 00:00:00 2001
From: Nico Schottelius <nico@kr.ethz.ch>
Date: Sat, 8 Oct 2011 12:01:53 +0200
Subject: [PATCH] type explorer should run with remote base as well :-)

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
---
 lib/cdist/config_install.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/cdist/config_install.py b/lib/cdist/config_install.py
index 3544a901..e4b51ad4 100644
--- a/lib/cdist/config_install.py
+++ b/lib/cdist/config_install.py
@@ -195,7 +195,7 @@ class ConfigInstall:
         self.transfer_object_parameter(cdist_object)
 
         for explorer in cdist_type.explorers:
-            remote_cmd = cmd + [os.path.join(self.context.type_base_path,
+            remote_cmd = cmd + [os.path.join(self.context.remote_base_path,
                 cdist_type.explorer_path, explorer)]
             output = os.path.join(self.context.object_base_path,
                         cdist_object.explorer_path, explorer)