【发布时间】:2020-10-23 18:39:09
【问题描述】:
我想知道如何安装 chef 12,以便使用 Chef 12 堆栈将 Ruby on Rails 应用程序部署到 AWS OpsWorks。
食谱
https://github.com/nebulab/aws-solidus-demo-opsworks_cookbook.git
$ berks 安装
$ berks package cookbooks.tar.gz
** AWS Opsworks 部署错误**
[2020-07-03T04:21:10+00:00] ERROR: Cookbook 'deploy_resource' version '1.0.3' depends on chef version [">= 13.0"], but the running chef version is 12.18.31
[2020-07-03T04:21:10+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
**我的 MacOS 本地环境中的 Chef 版本 **
$ chef --version
Chef Workstation version: 20.7.81
Chef Infra Client version: 16.2.73
Chef InSpec version: 4.21.1
Chef CLI version: 3.0.11
Test Kitchen version: 2.5.2
Cookstyle version: 6.9.0
$ chef-client -version
Chef: 12.18.31
提前致谢
【问题讨论】:
标签: amazon-web-services chef-infra aws-opsworks