[chef] Re:


Chronological Thread 
  • From: Joshua Timberman < >
  • To:
  • Subject: [chef] Re:
  • Date: Thu, 17 Sep 2009 12:26:19 -0600

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello Karl!

On Sep 16, 2009, at 4:06 PM, < > < > wrote:

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

Once a working Ruby is installed, it seems the problem is, at least on my test system (opensolaris 11):

$ ohai os
"solaris2.11"

But there's no plugins for solaris2.11, the directory is solaris2:

$ ls -d /usr/local/lib/ruby/gems/1.8/gems/ohai-0.3.2/lib/ohai/plugins/ solaris*
/usr/local/lib/ruby/gems/1.8/gems/ohai-0.3.2/lib/ohai/plugins/solaris2/

I created a symlink on my system, solaris2 to solaris2.11, and chef ran successfully.

I opened a ticket for this issue in ohai:

        http://tickets.opscode.com/browse/OHAI-122

- --
Opscode, Inc
Joshua Timberman, Senior Solutions Engineer
C: 720.878.4322 E: 


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Darwin)

iEYEARECAAYFAkqyf0sACgkQO97WSdVpzT2uyQCdF72un1lypdr4NIQZu9kCNw8U
G4MAoIgqlpk6gJfZoFhnToHJo0qL+chi
=eaqi
-----END PGP SIGNATURE-----



Archive powered by MHonArc 2.6.16.

§