Any package related definition fail on centos4 with the following output:
yum failed - #<Process::Status: pid=31068,exited(1)> - returns: Traceback (most recent call last):
File "/usr/local/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/provider/package/yum-dump.py", line 83, in ?
y.doUnlock()
TypeError: doUnlock() takes exactly 2 arguments (1 given)
/usr/local/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/provider/package/yum.rb:79:in `load_data'/usr/local/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/provider/package/yum.rb:34:in `initialize'/usr/local/lib/ruby/1.8/singleton.rb:94:in `new'/usr/local/lib/ruby/1.8/singleton.rb:94:in `instance'/usr/local/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/provider/package/yum.rb:110:in `initialize'/usr/local/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/runner.rb:54:in `new'/usr/local/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/runner.rb:54:in `build_provider'/usr/local/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/runner.rb:86:in `converge'/usr/local/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/runner.rb:85:in `each'/usr/local/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/runner.rb:85:in `converge'/usr/local/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/resource_collection.rb:58:in `each'/usr/local/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/resource_collection.rb:57:in `each'/usr/local/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/runner.rb:63:in `converge'/usr/local/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/client.rb:373:in `converge'/usr/local/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/client.rb:81:in `run'/usr/local/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/application/client.rb:164:in `run_application'/usr/local/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/application/client.rb:162:in `loop'/usr/local/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/application/client.rb:162:in `run_application'/usr/local/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/application.rb:57:in `run'/usr/local/lib/ruby/gems/1.8/gems/chef-0.7.4/bin/chef-client:26/usr/local/bin/chef-client:19:in `load'/usr/local/bin/chef-client:19
/usr/local/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/provider/package/yum.rb:79:in `load_data': yum failed - #<Process::Status: pid=31068,exited(1)> - returns: Traceback (most recent call last): (Chef::Exceptions::Package)
File "/usr/local/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/provider/package/yum-dump.py", line 83, in ?
y.doUnlock()
TypeError: doUnlock() takes exactly 2 arguments (1 given)
from /usr/local/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/provider/package/yum.rb:34:in `initialize'
from /usr/local/lib/ruby/1.8/singleton.rb:94:in `new'
from /usr/local/lib/ruby/1.8/singleton.rb:94:in `instance'
from /usr/local/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/provider/package/yum.rb:110:in `initialize'
from /usr/local/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/runner.rb:54:in `new'
from /usr/local/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/runner.rb:54:in `build_provider'
from /usr/local/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/runner.rb:86:in `converge'
from /usr/local/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/runner.rb:85:in `each'
from /usr/local/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/runner.rb:85:in `converge'
from /usr/local/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/resource_collection.rb:58:in `each'
from /usr/local/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/resource_collection.rb:57:in `each'
from /usr/local/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/runner.rb:63:in `converge'
from /usr/local/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/client.rb:373:in `converge'
from /usr/local/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/client.rb:81:in `run'
from /usr/local/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/application/client.rb:164:in `run_application'
from /usr/local/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/application/client.rb:162:in `loop'
from /usr/local/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/application/client.rb:162:in `run_application'
from /usr/local/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/application.rb:57:in `run'
from /usr/local/lib/ruby/gems/1.8/gems/chef-0.7.4/bin/chef-client:26
from /usr/local/bin/chef-client:19:in `load'
from /usr/local/bin/chef-client:19
CentOS/RHEL 4 is untested as yum-dump.py was written exclusively for CentOS >= 5.2 where I am focusing on an rpm based installed.
I have some time off in a week where I should be able to install CentOS 4 and figure this out.