Hi Matthew,
Thanks for the update! Unfortunately for me I had installed the Chef
server manually yesterday Anyway I erased my installation to test
your packages. Here is the first problem I encountered while installing
the packages: some files belong to the group "mockbuild" instead of
"chef".
[...]
Installing :
chef-common
44/49
Installing :
chef-solr
45/49
attention: /etc/sysconfig/chef-solr créé en tant que
/etc/sysconfig/chef-solr.rpmnew
attention: /etc/sysconfig/chef-solr-indexer créé en tant que
/etc/sysconfig/chef-solr-indexer.rpmnew
attention: groupe mockbuild inexistant - utilisation de root
attention: groupe mockbuild inexistant - utilisation de root
attention: groupe mockbuild inexistant - utilisation de root
attention: groupe mockbuild inexistant - utilisation de root
attention: groupe mockbuild inexistant - utilisation de root
attention: groupe mockbuild inexistant - utilisation de root
[...]
Here is a list of the packages and files you need to correct:
-
chef:
drwxr-xr-x 2 chef mockbuil 0 avr 12 22:10 /var/cache/chef
drwxr-xr-x 2 chef mockbuil 0 avr 12 22:10 /var/log/chef
drwxr-xr-x 2 chef mockbuil 0 avr 12 22:10 /var/run/chef
-
chef-server:
drwxr-xr-x 2 chef mockbuil 0 avr 12 22:12 /var/cache/chef
drwxr-xr-x 2 chef mockbuil 0 avr 12 22:12 /var/lib/chef
drwxr-xr-x 2 chef mockbuil 0 avr 12 22:12 /var/log/chef
drwxr-xr-x 2 chef mockbuil 0 avr 12 22:12 /var/run/chef
-
chef-solr:
drwxr-xr-x 2 chef mockbuil 0 avr 12 22:15
/var/cache/chef/solr
drwxr-xr-x 2 chef mockbuil 0 avr 12 22:15
/var/lib/chef/solr
drwxr-xr-x 2 chef mockbuil 0 jun 22 2009
/var/lib/chef/solr/bin
drwxr-xr-x 2 chef mockbuil 0 jui 17 2009
/var/lib/chef/solr/conf
-rw-r--r-- 1 chef mockbuil 1094 jun 22 2009
/var/lib/chef/solr/conf/admin-extra.html
-rw-r--r-- 1 chef mockbuil 9919 jui 17 2009
/var/lib/chef/solr/conf/schema.xml
-rw-r--r-- 1 chef mockbuil 921 jun 22 2009
/var/lib/chef/solr/conf/scripts.conf
-rw-r--r-- 1 chef mockbuil 27721 jui 17 2009
/var/lib/chef/solr/conf/solrconfig.xml
drwxr-xr-x 2 chef mockbuil 0 avr 12 22:15
/var/lib/chef/solr/solr-jetty
drwxr-xr-x 2 chef mockbuil 0 aoû 14 2009
/var/lib/chef/solr/solr-jetty/etc
-rw-r--r-- 1 chef mockbuil 9811 jun 22 2009
/var/lib/chef/solr/solr-jetty/etc/jetty.xml
-rw-r--r-- 1 chef mockbuil 22622 jun 22 2009
/var/lib/chef/solr/solr-jetty/etc/webdefault.xml
drwxr-xr-x 2 chef mockbuil 0 aoû 14 2009
/var/lib/chef/solr/solr-jetty/lib
-rw-r--r-- 1 chef mockbuil 472383 jun 22 2009
/var/lib/chef/solr/solr-jetty/lib/jetty-6.1.3.jar
-rw-r--r-- 1 chef mockbuil 128058 jun 22 2009
/var/lib/chef/solr/solr-jetty/lib/jetty-util-6.1.3.jar
drwxr-xr-x 2 chef mockbuil 0 aoû 14 2009
/var/lib/chef/solr/solr-jetty/lib/jsp-2.1
-rw-r--r-- 1 chef mockbuil 1034049 jun 22 2009
/var/lib/chef/solr/solr-jetty/lib/jsp-2.1/ant-1.6.5.jar
-rw-r--r-- 1 chef mockbuil 3566844 jun 22 2009
/var/lib/chef/solr/solr-jetty/lib/jsp-2.1/core-3.1.1.jar
-rw-r--r-- 1 chef mockbuil 637087 jun 22 2009
/var/lib/chef/solr/solr-jetty/lib/jsp-2.1/jsp-2.1.jar
-rw-r--r-- 1 chef mockbuil 515250 jun 22 2009
/var/lib/chef/solr/solr-jetty/lib/jsp-2.1/jsp-api-2.1.jar
-rw-r--r-- 1 chef mockbuil 131998 jun 22 2009
/var/lib/chef/solr/solr-jetty/lib/servlet-api-2.5-6.1.3.jar
drwxr-xr-x 2 chef mockbuil 0 jui 17 2009
/var/lib/chef/solr/solr-jetty/logs
-rw-r--r-- 1 chef mockbuil 16411 jun 22 2009
/var/lib/chef/solr/solr-jetty/start.jar
drwxr-xr-x 2 chef mockbuil 0 aoû 14 2009
/var/lib/chef/solr/solr-jetty/webapps
-rw-r--r-- 1 chef mockbuil 12334877 jun 22 2009
/var/lib/chef/solr/solr-jetty/webapps/solr.war
drwxr-xr-x 2 chef mockbuil 0 jui 17 2009
/var/lib/chef/solr/solr-jetty/work
drwxr-xr-x 2 chef mockbuil 0 avr 12 22:15 /var/log/chef
drwxr-xr-x 2 chef mockbuil 0 avr 12 22:15 /var/run/chef
Regards
Le 13/04/2010 03:11, Matthew Kent a écrit :
Chef 0.8.10 CentOS/RHEL 5 packages as provided by ELFF
(http://elff.bravenet.com/) are ready for testing.
Installation instructions have been updated here
http://wiki.opscode.com/display/chef/Installation+on+RHEL+and+CentOS+5+with+RPMs
These packages are derived from the 0.8.10 gems with 2 patches from
to make chef-solr happy. These are tracked in this branch
GitHub - mdkent/chef at 0.8.10-el5
They also include rewritten init scripts, new configs and man pages
borrowed from the Debian work by Mr Timberman. The updated packaging
material and init scripts will be sent upstream shortly.
I've run through a few test installs (install chef server/client,
using chef-repo, uploading cookbooks/roles etc) on fresh vm's without
issue but am looking for further testing.
Please note I have not yet tested the upgrade path from the 0.7.16
packages as time is a bit tight lately. If you want to try do let me
know how it goes.
Unless I here of any issues I'll bump the new packages over to the
stable repository soon.
--
Farzad FARID / Architecte Open Source
Pragmatic Source / http://www.pragmatic-source.com
Tel : +33 9 53 19 21 90 / Mob : +33 6 03 70 65 46