为什么puppetlabs-firewall模块不起作用-错误500位置不可接受

问题描述

我正在尝试在我的Puppet受管节点上安装puppetlabs-firewall。有3种环境,测试/测试/生产。我使用r10k管理这些模块。

在代理上运行时,我运行“ puppet agent -t”,并且返回的错误如下:

sudo /opt/puppetlabs/bin/puppet agent -t
Info: Using configured environment 'test'
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Retrieving locales
Info: Loading facts
Error: Could not retrieve catalog from Remote Server: Error 500 on SERVER: Server Error: Unacceptable location. The name 'firewall' is unacceptable in file '/etc/puppetlabs/code/environments/test/modules/iptables_new/manifests/init.pp' (file: /etc/puppetlabs/code/environments/test/modules/iptables_new/manifests/init.pp,line: 33,column: 1) on node postfix.example.com
Warning: Not using cache on Failed catalog
Error: Could not retrieve catalog; skipping run

“不可接受的位置”是什么意思?我没有更改puppetlabs-firewall模块的任何内容。我只是将其克隆并重命名

以下是Puppet主文件上的environment.conf:

root@puppet:/home/puppet/environments# cat environments.conf
modulepath = site:modules:$basemodulepath
manifest = manifests/site.pp

任何想法都会有所帮助。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)