itamaeとvagrant今日はじめた
状況
- vagrantを入れた(installer)
- pluginもいくつか入れた
- vagrant-itamaeを使って
vagrant provision
するとitamaeさん走るようにした - itamaeさんは
itamae-plugin-recipe-rtn_rbenv
を使いたいのでbundle install --path vendor/bundle
で入れた
結果
/Users/kenta/.vagrant.d/gems/gems/itamae-1.1.10/lib/itamae/recipe.rb:103:in `include_recipe': Recipe not found. (rtn_rbenv::system) (Itamae::Recipe::NotFoundError)
と言われて怒られる。
ちなみに
bundle exec itamae ssh --vagrant -h default -j node.json recipe/main.rb
するとうまくいく(そうだね)
疑問
- Vagrantまでbundle execした時の状況が引き継がれてないようだ?
- 一体どこを直せばよいのか?
gem install itamae-plugin-recipe-rtn_rbenv
で行けるのかと思ったのだがダメだった。
/Users/kenta/.vagrant.d/gems/gems/itamae-1.1.10/lib/itamae/recipe.rb:103:in `include_recipe': Recipe not found. (rtn_rbenv::system) (Itamae::Recipe::NotFoundError)
やっぱり筋がいいのはvagrant-itamaeに手を加えるべきなのか