workaround for puppet exec