[chef] chef-client cookbook problem: log_location not set properly?


Chronological Thread 
  • From: "Julian C. Dunn" < >
  • To:
  • Subject: [chef] chef-client cookbook problem: log_location not set properly?
  • Date: Sat, 2 Jun 2012 23:22:59 -0400

I'm in the midst of migrating to Opscode's chef-client cookbook.
Before I roll it out across ~70 systems I thought it prudent to test
it with chef-solo in a VM first. I have the following as JSON
attributes:

{
  "run_list": [ "recipe[chef-client::config]", "recipe[chef-client]" ],
  "chef_client": {
        "server_url": "http://bogus.example.com:4000";,
        "environment": "dev",
        "init_style": "init"
  }
}

The generated client.rb is sensible except for one line:

log_location     #<IO:0x2b06082b0ac8>

I don't know enough Ruby to understand the case statement in the
recipe involving testing to see if this attribute is a String, IO,
etc. Can someone help me out and let me know how to fix this?

- Julian

--
Julian C. Dunn 
< >
Systems Engineer, Project Leader, Writer
WWW: www.juliandunn.net
Phone: (347) 986-0308
LinkedIn: linkedin.com/in/julian



Archive powered by MHonArc 2.6.16.

§