Merge branch 'master' into run-explorers-in-cdist.core.explorer

This commit is contained in:
Steven Armstrong 2011-10-20 11:08:23 +02:00
commit 9588c5189c

View file

@ -144,6 +144,7 @@ class Explorer(object):
def transfer_object_parameters(self, cdist_object):
"""Transfer the parameters for the given object to the remote side."""
if cdist_object.parameters:
source = os.path.join(self.local.object_path, cdist_object.parameter_path)
destination = os.path.join(self.remote.object_path, cdist_object.parameter_path)
self.remote.mkdir(destination)