From 1138d8b439acb2f343a4d4f046882ec10b9dff84 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Fri, 7 Oct 2011 13:44:07 +0200 Subject: [PATCH] remote_remote_code_remote_remote Signed-off-by: Nico Schottelius --- lib/cdist/config_install.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/cdist/config_install.py b/lib/cdist/config_install.py index a8ea9043..e8d179e8 100644 --- a/lib/cdist/config_install.py +++ b/lib/cdist/config_install.py @@ -101,8 +101,6 @@ class ConfigInstall: cdist.exec.shell_run_or_debug_fail(manifest, [manifest], env=env) -################################################################################ - def object_run(self, cdist_object): """Run gencode or code for an object""" log.debug("Running %s from %s", mode, cdist_object) @@ -161,7 +159,7 @@ class ConfigInstall: # code remote local_remote_code = cdist_object.code_remote - remote_remote_code = cdist_object.code_remote_remote + remote_remote_code = cdist_object.remote_code_remote if os.path.isfile(local_remote_code): self.context.transfer_file(local_remote_code, remote_remote_code) cdist.exec.run_or_fail([remote_remote_code], remote_prefix=True)