using pty for chef instead of open3