[chef] chefspec and lazy


Chronological Thread 
  • From: Joe Nuspl < >
  • To:
  • Subject: [chef] chefspec and lazy
  • Date: Tue, 21 Oct 2014 14:34:49 -0700

I’m trying to write a unit test for a recipe that uses http://docs.getchef.com/resource_common.html#lazy-attribute-evaluation

It fails with:

Failure/Error: runner.converge(described_recipe)
NoMethodError:
 undefined method `lazy' for Chef::Resource::Execute

Any ideas on how to make this work?

Joe



Archive powered by MHonArc 2.6.16.

§