2

I am able to create a new server using knife-eucalyptus like so:

knife euca server create

The server gets created but provisioning fails with the following message:

"ERROR: Errno::ENOENT: No such file or directory - /etc/chef/validation.pem"

This is understandable as I presume it is trying to use Chef Server for provisioning. This is the problem. I want to use Chef Solo to provision this server (at least for now).

Is there some way to instruct knife-eucalyptus to provision new servers with Chef Solo?

StFS
  • 273

1 Answers1

1

You can use knife-solo. As knife-eucalyptus uses the standard Knife::Bootstrap class which knife-solo monkey patches a bit, you can put knife[:solo] = true into the knife.rb.

Consult the documentation for information how to set up the "kitchen" if you're not familiar with knife-solo yet.

tmatilai
  • 716