2016-06-18 63 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 /' –