- From: Adam Jacob <adam@opscode.com>
- To: chef@lists.opscode.com
- Subject: Re: Installation issues wrt chef-solo
- Date: Mon, 13 Apr 2009 21:48:47 -0700
The wiki is in the process of being updated, but the code for the solo
install won't work on CentOS.
Check out the RPMs:
http://chef.viviti.com/
Adam
On Mon, Apr 13, 2009 at 2:21 PM, Ian Kallen <spidaman.list@gmail.com> wrote:
>
Still learning my way around chef (and git and runit...), I've got CentOS
>
5.3 x86_64 running under vmware fusion. I'm running through an install that
>
uses the "Installation on CentOS 5.2 with gems" scenario but where it hands
>
off to the "Installation" wiki, it's bombing. On
>
http://wiki.opscode.com/display/chef/Installation it says to do this
>
>
$ sudo chef-solo -r
>
http://wiki.opscode.com/download/attachments/1179839/chef-server-install-solo-0.5.2.tar.gz
>
>
but that fails out 'cause the runit, stompserver etc doesn't get set up.
>
This is what I did manually to get all of the services started up (requires
>
adding http://rubyworks.rubyforge.org/redhat/$releasever/RPMS/ to yum):
>
>
yum install -y libicu-devel runit
>
wget
>
http://download.fedora.redhat.com/pub/epel/5/x86_64/couchdb-0.8.1-4.el5.x86_64.rpm
>
rpm -i couchdb-0.8.1-4.el5.x86_64.rpm
>
wget
>
http://download.fedora.redhat.com/pub/epel/5/x86_64/js-1.70-3.el5.x86_64.rpm
>
rpm -i js-1.70-3.el5.x86_64.rpm
>
>
wget
>
http://wiki.opscode.com/download/attachments/1179839/chef-server-install-solo-0.5.2.tar.gz
>
mkdir /var/tmp/chef-server-install-solo-0.5.2
>
tar xzvf chef-server-install-solo-0.5.2.tar.gz -C
>
/var/tmp/chef-server-install-solo-0.5.2
>
>
cd /var/tmp/chef-server-install-solo-0.5.2/cookbooks/chef/template/default/
>
for i in stompserver chef-indexer chefserver
>
do
>
mkdir -p /var/service/$i/log/main
>
cp sv-$i-log-run.erb /var/server/$i/log/run
>
chmod 755 /var/server/$i/log/run
>
cp sv-$i-run.erb /var/server/$i/run
>
chmod 755 /var/$i/$i/run
>
done
>
>
My target is to put configuration of some CentOS EC2 instances under chef
>
management. I'm fine with my manual setup to go from playing in vmware to
>
doing it for real on EC2 but if there's something I'm missing on the wiki
>
that's cool, please just let me know (I've been suspecting I need to get
>
vision correction anyway :)
>
thanks,
>
-Ian
>
>
--
Opscode, Inc.
Adam Jacob, CTO
T: (206) 508-4759 E: adam@opscode.com
Archive powered by MHonArc 2.6.16.