require 'chef_metal'
machine 'skycrank-gearbox' do
tag 'master'
recipe "skycrank-gearbox::default"
converge true
end
machine 'skycrank01' do
tag 'gear'
converge true
end
machine 'skycrank02' do
tag 'gear'
converge true
end
-------
My CHEF_DRIVER is set thusly:
-------
export CHEF_DRIVER="vagrant:/Users/cpatti/Vagrants"
And my ~/.chef/knife.rb contains the following vagrant/machine options:
-------
machine_options :vagrant_options => { 'vm.box' => 'chef/ubuntu-14.04',
}
(I also tried just using vm.box => 'precise64' FWIW that yielded no change)
Every time I try to run this, it seems to go along nicely for a bit, then I get:
-----
================================================================================
Error executing action `converge` on resource 'machine_batch[default]'
================================================================================
Net::SSH::Exception
-------------------
remote forwarding request failed
Resource Declaration:
---------------------
# In /Users/cpatti/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/chef-metal-0.13/lib/chef_metal/recipe_dsl.rb
82: batch = build_resource(:machine_batch, machine_batch_default_name) do
83: action resource.action
84: machines [ previous, resource ]
85: end
86: batch.from_recipe self
Compiled Resource:
------------------
# Declared in /Users/cpatti/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/chef-metal-0.13/lib/chef_metal/recipe_dsl.rb:82:in `machine'
---
Can anyone give me some clues as to what I'm doing wrong here please? I'm stuck.
Thanks!
-Chris
--
Christopher Patti - Geek At Large | GTalk:
">
| AIM: chrisfeohpatti | P: (260) 54PATTI
"Technology challenges art, art inspires technology." - John Lasseter, Pixar