2016-06-18 59 views
0

所以我有一个流浪汉/傀儡设置为我的项目*和我在其上运行的Ubuntu 14.04。它只是坏了,没有改变任何东西。 puppet module install puppetlabs-apt VM中失败,并以下线:安装puppetlabs /公寓失败,“302找到”

Error: Could not execute operation for 'puppetlabs/apt' 
The server being queried was https://forge.puppetlabs.com 
The HTTP response we received was '302 Found' 
Check the author and module names are correct. 

我使用这个模块相当长的一段时间,现在看来似乎只是无缘无故拦工作。任何意见赞赏。

- 编辑:答题 与--debug运行它没有太大的帮助我猜

Notice: Preparing to install into /home/vagrant/.puppet/modules ... 
Notice: Created target directory /home/vagrant/.puppet/modules 
Notice: Downloading from https://forge.puppetlabs.com ... 
Error: Could not execute operation for 'puppetlabs/apt' 
The server being queried was https://forge.puppetlabs.com 
The HTTP response we received was '302 Found' 
Check the author and module names are correct. 

*链接:https://github.com/dwalldorf/owTracker vagrant up/vagrant sshpuppet module install puppetlabs-apt

+0

运行与--debug,任何输出? – BMW

+0

看到最初的问题更新 – dwalldorf

回答

1

这应该是固定的。您可以检查FORGE-327了解更多信息

1

https://forge.puppetlabs.com/puppetlabs/apt重定向到https://forge.puppet.com/puppetlabs/apt

您可以强制它通过附加使用正确的锻造因此,它将成为

puppet module install puppetlabs-apt --module_repository https://forge.puppet.com/ 

不知道到底为什么它想从https://forge.puppetlabs.com在首位下载,你可以检查你的puppet.conf

+0

这实际上导致了404我.. – dwalldorf

+0

哼哼..工作从我的身边'注意事项:准备安装到/home/vagrant/.puppet/modules ... 注意:从https下载: //forge.puppet.com/puppetlabs/apt ... 注意:安装 - 不要打断...... /home/vagrant/.puppet/modules └─┬puppetlabs,APT(V2.2.2) └─ ─puppetlabs-stdlib(v4.12.0)' –

+1

该网址最后不应包含“puppetlabs/apt”,我已将修改提交给解决方案的编辑。它应该只是'的https:// forge.puppet.com /' –