[chef] Re: Re: Re: Re: Building a basic Rails-Stack with Chef-Solo/Berkshelf


Chronological Thread 
  • From: Patrick Mulder < >
  • To:
  • Subject: [chef] Re: Re: Re: Re: Building a basic Rails-Stack with Chef-Solo/Berkshelf
  • Date: Tue, 26 Feb 2013 14:24:15 +0100




On Mon, Feb 25, 2013 at 8:50 PM, Patrick Mulder < " target="_blank"> > wrote:



On Mon, Feb 25, 2013 at 6:24 PM, Cassiano Leal < " target="_blank"> > wrote:
1. Try setting attributes to tell rvm::vagrant where to find the executables for chef-client and chef-solo. I have these lines on one of the attributes file:

set['rvm']['vagrant']['system_chef_client'] = "/opt/ruby/bin/chef-client"
set['rvm']['vagrant']['system_chef_solo'] = "/opt/ruby/bin/chef-solo"


2. The curl-dev issue might be the case of outdated repository information. This has bitten me a few times.


Thanks Cassiano!

Problem 2. can be solved as you suggested. 

Still fighting a bit with 1. but I saw a pull-request which might be related to the same problem:  


Ok, I found the problem to be the sudo cookbook together with the rbenv/rvm cookbooks;  the conversion will fail, if the rvm/rbenv cookbook is used together with:



Eventually, someone has a pointer, how to use them together? Otherwise, I will work-around without a sudo setup right now.

Cheers,
Patrick



Archive powered by MHonArc 2.6.16.

§