puppet - Puppet 4:由于缺少数据,agent 找不到 master
问题描述
我正在使用 Packt Publishing 的“Puppet 4 Essentials:第二版”,我被困在第 33 页。这里似乎有一个关键的细节完整摘录:
Add this to /etc/hosts so that Puppet can contact the master:
它没有指定要添加什么。我是 puppet 4 的新手,目前正在从它迁移资源。我想避免在这里撞到墙上。
谁能帮我破译这段话?
编辑:
我正在尝试在 Centos 7 上运行它。机器可以成功地相互 ping 通。
我将此添加到代理中/etc/hosts
:
10.xxx.xxx.xxx puppetmaster puppet
我将此添加到主人/etc/hosts
:
10.xxx.xxx.xxx puppetclient agent
(确认IP地址正确)
解决方案
推荐阅读
- c - 是否可以在 C 中的程序中使用 pipe() ?
- c# - 如何修复这个 mongo c# find by Id 以返回除 null 以外的结果?
- discord - 是否有机器人在输入命令时为用户赋予特定角色?
- appium-android - 我在 Appium 中运行代码时遇到问题
- api - 如何获取亚马逊网上商店产品列表 API?我想获取我商店中可用的产品列表
- go - 编译错误只构建一个模块,而不是主包
- mysql - 您如何在 Apache NiFi 的 PutSQL 处理器上使用 MySQL NULL 文字?
- odoo - Odoo 12 记录更改
- typescript - Deno REPL 无法识别 TypeScript 变量声明
- python - 将线图添加到 xarray 中的 facetgrid