我们使用 Vagrant 进行部署,最终希望在 Rackspace 上部署这个集群。这流浪者机架空间 https://github.com/mitchellh/vagrant-rackspace插件是一个自然的选择,但它有一些最新的 0.1.1 版本中未包含的错误(值得注意的是vagrant provision不起作用 https://github.com/mitchellh/vagrant-rackspace/pull/16)。我已经在我的中解决了这个问题个人分叉 https://github.com/deanmalmgren/vagrant-rackspace通过合并其他人的工作来访问存储库。是否可以从 github 安装 vagrant 插件?
显而易见的事情不起作用:
[unix]$ vagrant plugin install vagrant-rackspace --plugin-source https://github.com/deanmalmgren/vagrant-rackspace
Installing the 'vagrant-rackspace' plugin. This can take a few minutes...
The plugin 'vagrant-rackspace' could not be found in local or remote
repositories. Please check the name of the plugin and try again.
我是 vagrant 和 ruby 的新手,所以这里的任何指示将不胜感激。谢谢!
截至今天,我只看到两种解决方法:
- 你可以
rake build
插件,将生成的 .gem 上传到gemfury http://gemfury.com,然后用它作为--plugin-source
.
- 您可以从本地源安装该插件,例如
vagrant plugin install /path/to/your/bugfixed.gem
最后,我很想看到类似的东西Gemfile
对于 Vagrant 插件。 AFAIK 还没有这样的东西,但这里有一个功能要求 https://github.com/mitchellh/vagrant/issues/1789
EDIT:实际上有一个很棒的项目叫做bindler https://github.com/fgrehm/bindler现在。该功能要求在bindler中添加git位置支持 https://github.com/fgrehm/bindler/issues/4仍然很突出,但恕我直言,这是应该修复的地方
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)