【问题标题】:Setting up a three tier environment in puppet在 puppet 中设置三层环境
【发布时间】:2016-05-28 17:09:03
【问题描述】:

这些是我的文件:

  1. Nodes.pp file
  2. site.pp file

我需要在图表中设置基础架构,并且我想使用 Puppet Automation 来执行此操作。我需要,

  1. 创建 4 台 VM,1 台用于 DB,1 台 Web 服务器,1 台负载平衡器,1 台主服务器
  2. 使用 Puppet Agent 设置它们
  3. 从社区站点查找合适的模块/食谱 (Puppet Forge/厨师超市)
  4. 使用从社区获取的配方/类配置节点 网站。
  5. 提供配置参数以便拥有所有这些节点 相互连接。

    最终目标是建立一个有效的 Wordpress 设置。

我被主代理配置过程卡住了。我有一个 Puppet 大师和 3 个代理正在运行。但是,每当我在代理中运行#puppet agent --test 时,它都会引发错误。我期待社区的帮助。

我得到的错误是......

[root@agent1 vagrant]# puppet agent --noop --test
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading facts
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Could
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run

【问题讨论】:

    标签: vagrant puppet vagrant-windows puppetlabs-apache puppetlabs-mysql


    【解决方案1】:

    首先看一下 puppet master 的日志。 第二:错误信息太短。之后缺少一些东西 Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Could“可以”后面的文字可能会有所帮助;)

    【讨论】:

      猜你喜欢
      • 2013-03-04
      • 2023-03-18
      • 1970-01-01
      • 2012-10-05
      • 2012-09-13
      • 2019-11-10
      • 1970-01-01
      • 2015-04-19
      • 1970-01-01
      相关资源
      最近更新 更多