1

几个月以来,我刚刚提取了 puppetlabs-apache git 存储库,当我运行 puppet 时,我收到了以下消息:

Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Invalid relationship: File[/etc/httpd/conf/httpd.conf] { require => File[/etc/httpd/conf/ports.conf] }, because File[/etc/httpd/conf/ports.conf] doesn't seem to be in the catalog
Error: Could not retrieve catalog; skipping run

这是我的网站清单文件:

class { 'apache':
  mpm_module => 'prefork',
}
include apache::mod::php

class { 'postgresql::server': }
class { 'zabbix':
  zabbix_url       => 'zabbix.dj-wasabi.nl',
  manage_resources => true,
}

这以前总是有效的,但每次都知道失败。哪个 puppet 版本(3 或 4)或 Linux 操作系统(Centos、Ubuntu 或 Debian)都没有关系。

我错过了什么吗?

亲切的问候,维尔纳

4

1 回答 1

0

看起来 Puppetlabs 在这里跟踪这个问题: https ://tickets.puppetlabs.com/browse/MODULES-2850

于 2016-01-28T19:17:13.780 回答