- From: Ian Kallen <spidaman.list@gmail.com>
- To: chef@lists.opscode.com
- Subject: Installation issues wrt chef-solo
- Date: Mon, 13 Apr 2009 14:21:47 -0700
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=eAkTW7YBsQWOJR1mf1e6x+6FkrWAOmL0LfCty0n2JWd84LqZT10Xo3Kk8byVDAosew 0Ly7HOoDzq5r16B0WIklSKAQIEG4dqp1ZkInbBs4hNGfk2E1D10PHeM5i0d47N3+6occ bYncPm2Ufb06ISdMESi3AP8niaRuV7LcksdEE=
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
- Installation issues wrt chef-solo, Ian Kallen, 04/13/2009
Archive powered by MHonArc 2.6.16.