Vagrant 安装puppetlabs/apt失败,原因是';发现302个'个;
所以我为我的项目设置了一个流浪者/傀儡,并在上面运行Ubuntu 14.04。它只是坏了,什么也没变<代码>puppet模块在VM内安装puppetlabs apt失败,出现以下行:Vagrant 安装puppetlabs/apt失败,原因是';发现302个'个;,vagrant,puppet,vagrant-provision,Vagrant,Puppet,Vagrant Provision,所以我为我的项目设置了一个流浪者/傀儡,并在上面运行Ubuntu 14.04。它只是坏了,什么也没变puppet模块在VM内安装puppetlabs apt失败,出现以下行: 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' Ch
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.
*链接:
vagrant up
/vagrant ssh
和puppet模块安装puppetlabs apt
重定向到
您可以通过附加--module\u repository来强制它使用正确的forgehttps://forge.puppet.com/
因此它将成为
puppet module install puppetlabs-apt --module_repository https://forge.puppet.com/
首先不确定它想要下载的确切原因,您可以检查您的puppet.conf
重定向到
您可以通过附加--module\u repository来强制它使用正确的forgehttps://forge.puppet.com/
因此它将成为
puppet module install puppetlabs-apt --module_repository https://forge.puppet.com/
首先不确定它想要下载的确切原因,您可以检查您的
puppet.conf
这应该是固定的。您可以查看更多信息这应该是固定的。您可以查看更多信息使用--debug运行,是否有输出?请参阅初始问题更新使用--debug运行,是否有输出?请参阅初始问题更新。。我这边的工作注意:准备安装到/home/vagrant/.puppet/modules中。。。注意:从https://forge.puppet.com/puppetlabs/apt ... 注意:安装--不要中断/home/vagrant/.puppet/modules└─┬ 木偶ABS apt(v2.2.2)└── puppetlabs stdlib(v4.12.0)
URL结尾不应该包含“puppetlabs/apt”,我已经提交了对答案的编辑以修复它。它应该是https://forge.puppet.com/
我已经向Puppet Labs()和Ubuntu()提交了bug文件,看看是否可以在任何一方修复。这应该是修复的。您可以查看更多信息。@JamesPogran是的,问题已经解决。重写了那个聚会,手工完成了ppa,现在我可以再次使用干净的方式了。谢谢!欢迎您再次发布此消息作为问题的答案。嗯。。我这边的工作注意:准备安装到/home/vagrant/.puppet/modules中。。。注意:从https://forge.puppet.com/puppetlabs/apt ... 注意:安装--不要中断/home/vagrant/.puppet/modules└─┬ 木偶ABS apt(v2.2.2)└── puppetlabs stdlib(v4.12.0)
URL结尾不应该包含“puppetlabs/apt”,我已经提交了对答案的编辑以修复它。它应该是https://forge.puppet.com/
我已经向Puppet Labs()和Ubuntu()提交了bug文件,看看是否可以在任何一方修复。这应该是修复的。您可以查看更多信息。@JamesPogran是的,问题已经解决。重写了那个聚会,手工完成了ppa,现在我可以再次使用干净的方式了。谢谢!欢迎您再次发布此消息作为问题的答案。