我想在裸机服务器上部署octohost。据我到目前为止了解,s刀solo旨在使用ssh直接在服务器上进行厨师供应?
但是,当我遵循second step时,我得到:
~/octohost-cookbook$ sudo rake knife_solo user=root ip=172.16.90.151 rake aborted! Kitchen::UserError: Vagrant 1.1.0 or higher is not installed. Please download a package from http://downloads.vagrantup.com/.
真的没有办法单独使用刀单在无法运行VM的计算机上安装octohost吗?
最佳答案
发生此错误是因为rake
命令使用bundle exec
来执行。 bundle includes Test Kitchen and kitchen-vagrant,需要存在Vagrant才能运行。
您可以通过运行以下命令禁用它们:
bundle install --without integration
或者通过从
Gemfile
中删除它们。
关于vagrant - 带 Knife 的Octohost在裸机上独奏? (UserError:未安装 Vagrant ),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25513317/