[chef] Re: Bootstrap windows server with knife ec2 server create?


Chronological Thread 
  • From: AJ Christensen < >
  • To: chef < >
  • Subject: [chef] Re: Bootstrap windows server with knife ec2 server create?
  • Date: Thu, 16 May 2013 20:33:08 +1200

Try using the 'chef-full' bootstrap template, which should use Omnibus
for Windows. that would be '--template-file path/to/chef-full.erb' or
'-d chef-full'

Can you also show the full stack trace from knife for that error
and/or open a ticket for it? Use knife -VV for extra-verbose.

Cheers,

AJ

On 16 May 2013 20:29, Jeppe Nejsum Madsen 
< >
 wrote:
> Ohai,
>
> I'm currently using a homegrown script to launch & bootstrap an EC2 windows
> server (using a combo of knife-ec2 & knife-windows)
>
> It seems the latest (unreleased?) knife-ec2 plugin does support windows
> images, but I can't seem to figure out which template to use. It fails with
>
> Bootstrapping Chef on ec2-54-228-110-177.eu-west-1.compute.amazonaws.com
> Can not find bootstrap definition for
> ERROR: Errno::ENOENT: No such file or directory
>
> looking in the bootstrap directory, I only see
>
> $ ls
> /Users/jeppe/.rbenv/versions/1.9.3-p327/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/knife/bootstrap
> archlinux-gems.erb   centos5-gems.erb     chef-full.erb
> fedora13-gems.erb    ubuntu10.04-apt.erb  ubuntu10.04-gems.erb
> ubuntu12.04-gems.erb
>
> and no windows template?
>
> What are the incarnations needed to boot windows?
>
> /Jeppe



Archive powered by MHonArc 2.6.16.

§