Another problem is when I run ‘chef-client’ on my client server it outputs these errors:
chef-client
/usr/lib/ruby/1.8/chef/mixin/command.rb:175:in handle_command_failures': bash /tmp/chef-script20100218-7728-116vz10-0 returned 2, expected 0 (Chef::Exceptions::Exec) ---- Begin output of bash /tmp/chef-script20100218-7728-116vz10-0 ---- STDOUT: ?: pgpkeys.mit.edu: Connection refused gpgkeys: HTTP fetch error 7: couldn't connect: Connection refusedSTDERR: gpg: directory
/root/.gnupg’ created
gpg: new configuration file /root/.gnupg/gpg.conf' created gpg: WARNING: options in
/root/.gnupg/gpg.conf’ are not yet active during this run
gpg: keyring /root/.gnupg/secring.gpg' created gpg: keyring
/root/.gnupg/pubring.gpg’ created
gpg: requesting key A7C89464 from hkp server pgpkeys.mit.edu
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0
gpg: WARNING: nothing exported
gpg: no valid OpenPGP data found.---- End output of bash /tmp/chef-script20100218-7728-116vz10-0 ----
from /usr/lib/ruby/1.8/chef/mixin/command.rb:118:in run_command' from /usr/lib/ruby/1.8/chef/provider/execute.rb:49:in
action_run’
from /usr/lib/ruby/1.8/chef/provider/script.rb:37:in action_run' from /usr/lib/ruby/1.8/chef/runner.rb:61:in
send’
from /usr/lib/ruby/1.8/chef/runner.rb:61:in run_action' from /usr/lib/ruby/1.8/chef/runner.rb:111:in
converge’
from /usr/lib/ruby/1.8/chef/runner.rb:110:in each' from /usr/lib/ruby/1.8/chef/runner.rb:110:in
converge’
from /usr/lib/ruby/1.8/chef/resource_collection.rb:86:in execute_each_resource' from /usr/lib/ruby/1.8/chef/mixin/from_file.rb:30:in
each_with_index’
from /usr/lib/ruby/1.8/chef/resource_collection.rb:84:in each' from /usr/lib/ruby/1.8/chef/resource_collection.rb:84:in
each_with_index’
from /usr/lib/ruby/1.8/chef/resource_collection.rb:84:in execute_each_resource' from /usr/lib/ruby/1.8/chef/runner.rb:88:in
converge’
from /usr/lib/ruby/1.8/chef/client.rb:407:in converge' from /usr/lib/ruby/1.8/chef/client.rb:89:in
run’
from /usr/lib/ruby/1.8/chef/application/client.rb:186:in run_application' from /usr/lib/ruby/1.8/chef/application/client.rb:178:in
loop’
from /usr/lib/ruby/1.8/chef/application/client.rb:178:in run_application' from /usr/lib/ruby/1.8/chef/application.rb:57:in
run’
from /usr/bin/chef-client:25
Anything I missed?
Thanks in advance.
Oliver