2017-03-08 150 views
0

我写过一些食谱。 现在我想在多个平台上使用厨房进行测试。 我想在安装Visual Studio之前重新启动我的virtualbox istance。 但是当机器重新启动时,我的会话完成了,我无法安装Visual Studio。 我使用厨师12.5.1厨房测试和重启流浪箱

它可能安装PowerShell 4,重新启动虚拟机,并再次重新启动我的运行厨师和安装visulstudio? 我什么状态,如果我从客户做做饭一切正常,但是从厨房工作不

感谢您

回答

0

它不会与厨师的工作,老了,你需要使用12.11或更高版本,但Test Kitchen总体上支持这一点。相关配置程序配置示例:

provisioner: 
    name: chef_zero # or chef_solo 
    require_chef_omnibus: 12.11 # need the RFC 062 exit codes 
    retry_on_exit_code: 
    - 35 # 35 is the exit code signaling that the node is rebooting 
    max_retries: 1 
    client_rb: 
    exit_status: :enabled # Opt-in to the standardized exit codes 
    client_fork: false # Forked instances don't return the real exit code 
+0

谢谢。 我尝试使用厨师12.11.8,这是错误: 例外 类:Kitchen :: ActionFailed 未能完成收敛行动。 现在有什么问题? – AleZucchelli