Merge pull request #144 from asteven/issue_144
type explorers should be executable after transfering them to the target
This commit is contained in:
commit
5ce61342e1
1 changed files with 1 additions and 1 deletions
|
@ -153,7 +153,7 @@ class Explorer(object):
|
||||||
destination = os.path.join(self.remote.type_path, cdist_type.explorer_path)
|
destination = os.path.join(self.remote.type_path, cdist_type.explorer_path)
|
||||||
self.remote.mkdir(destination)
|
self.remote.mkdir(destination)
|
||||||
self.remote.transfer(source, destination)
|
self.remote.transfer(source, destination)
|
||||||
self.remote.run(["chmod", "0700", "%s" % (destination)])
|
self.remote.run(["chmod", "0700", "%s/*" % (destination)])
|
||||||
self._type_explorers_transferred.append(cdist_type.name)
|
self._type_explorers_transferred.append(cdist_type.name)
|
||||||
|
|
||||||
def transfer_object_parameters(self, cdist_object):
|
def transfer_object_parameters(self, cdist_object):
|
||||||
|
|
Loading…
Reference in a new issue