Thursday 15 April 2010

Error in Server provisioning through Chef, Oracle Virtual Box and Vagrant -



Error in Server provisioning through Chef, Oracle Virtual Box and Vagrant -

i working on chef- provisioning. trying utilize chef-provisioning, oracle virtual box , vagrant purpose. executed command:

"**gem install chef-provisioning chef-provisioning-vagrant**" got next error: **error: not find valid gem 'chef-provisioning-vagrant'**

i moved ahead without bothering it. , when executed "chef-client -z vagrant_linux.rb simple.rb" got next error:

**fatal: loaderror: cannot load such file -- chef/provisioning_vagrant**

why chef server not able locate "chef-provisioning-vagrant". file renamed or changed or else. help?

regards manish mehra

if box has no chef installed (e.g. using own box made scratch or using chef/debian-7.4), need install gem "chef". don't know other gems install doing, not aware of issues normale "chef" gem:

sudo gem install --no-rdoc --no-ri chef

you can have @ repo take plain debian box, install chef , basic packages: https://github.com/sgoettschkes/va/tree/master/debian7

vagrant chef provisioning

No comments:

Post a Comment