ubuntu - chef 节点未执行 chef-client 命令

标签 ubuntu installation chef-infra instances

我创建了两个 aws ubuntu 实例。一个将用作工作站,另一个用作节点。我已经启动了节点,它工作正常。当我输入 knife node list它显示了我创建的节点。

创建配方 apache 后,每当我尝试执行 sudo chef-client在节点上,它会引发错误。我无法纠正。这是错误:

enter image description here

最佳答案

httpd是 RHEL 风格系统上的包名。在 Debian 风格的系统上,包名是 apache2 . learnchef 教程并没有说明这一点。

关于ubuntu - chef 节点未执行 chef-client 命令,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35321194/

相关文章:

java - 通过 ssh jenkins 构建工件 - PHP

chef-infra - 如何让测试厨房多次运行相同的 Chef Recipe ?

installation - 使用 iTunes 12 安装 IPA

python - 使用 nose2 进行模块级设置和拆卸

mysql - 使用以下配置设置 vagrant

chef-infra - 替代 Chef/Puppet/Jenkins 将指令集从服务器推送到客户端,反之亦然?

php - FastCGI 服务器错误 500

python - 在Amazon深度学习AMI中导入tensorflow时如何解决RuntimeWarning和FutureWarning?

bash - 重定向输出时出现 "is not a directory"错误是什么意思? Bash 脚本

web-applications - 您对 "deploying"通过将 Web 应用程序包装在 google chrome 窗口中到桌面的想法?