make sure all args are strings

when calling from `enable_ssh_minions` they could be other things.
This commit is contained in:
Daniel Wallace 2017-11-17 16:16:51 -07:00
parent 7e9f673675
commit 3a5dc8e71b
No known key found for this signature in database
GPG Key ID: 5FA5E5544F010D48

View File

@ -1266,7 +1266,7 @@ ARGS = {10}\n'''.format(self.minion_config,
self.argv = _convert_args(self.argv)
log.debug(
'Performing shimmed, blocking command as follows:\n%s',
' '.join(self.argv)
' '.join([six.text_type(arg) for arg in self.argv])
)
cmd_str = self._cmd_str()
stdout, stderr, retcode = self.shim_cmd(cmd_str)