[chef]


Chronological Thread 
  • From: < >
  • To:
  • Subject: [chef]
  • Date: Wed, 16 Sep 2009 15:06:34 -0700 (PDT)

I'm trying to get chef running on opensolaris sxce build 115.

I'm getting the following error
 # ./chef-solo \-c \/solo.rb \-j \/chef.json \-r
/home/karlr/Downloads/chef/bootstrap-latest.tar.gz
[Wed, 16 Sep 2009 17:00:31 -0500] INFO: Starting Chef Solo Run
./../lib/chef/client.rb:122:in `determine_node_name': private method `gsub'
called for nil:NilClass (NoMethodError)
        from ./../lib/chef/client.rb:101:in `run_solo'
        from ./../lib/chef/application/solo.rb:191:in `run_application'
        from ./../lib/chef/application/solo.rb:183:in `loop'
        from ./../lib/chef/application/solo.rb:183:in `run_application'
        from ./../lib/chef/application.rb:57:in `run'
        from ./chef-solo:26

# hostname
chef

# ohai
ld.so.1: ruby: fatal: relocation error: file
/var/ruby/1.8/gem_home/gems/json-1.1.9/ext/json/ext/generator.so: symbol 
isinf:
referenced symbol not found
Killed

# cat /chef.json 
{
"chef": {
    "server_fqdn": "chef",
    "server_ssl_req":
"/C=CA/ST=Manitoba/L=Winnipeg/O=Summer/OU=Operations/CN=chef/ "
  },
"recipes": "chef::server"
}

Any suggestions would be appreciated.

Karl



Archive powered by MHonArc 2.6.16.

§