[chef] Really? What am I missing?


Chronological Thread 
  • From: Mark J Bradakis < >
  • To:
  • Subject: [chef] Really? What am I missing?
  • Date: Thu, 06 Dec 2012 21:48:53 -0700

So I get this error:

NoMethodError
-------------
undefined method `[]' for nil:NilClass


Which comes from this line:

627>>   revision node[:sgbase][:branch]

Called by a recipe in a file that does this:

"cookbook_versions": {
"cpan": "= 1.0.0",
"apt": "= 1.0.0",
"sgbase": "= 1.0.0",
"branch": "= 1.0.0"
    ...


sgbase and branch ARE defined - why the NULL error?


mjb.





Archive powered by MHonArc 2.6.16.

§