微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

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

如何解决为什么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 举报,一经查实,本站将立刻删除。