Is there any way to delay a resource's attribute resolution until the “execute” phase?
问题 I have two LWRPs. The first deals with creating a disk volume, formatting it, and mounting it on a virtual machine, we'll call this resource cloud_volume . The second resource (not really important what it does) needs a UUID for the newly formatted volume which is a required attribute, we'll call this resource foobar . The resources cloud_volume and foobar are used in a recipe something like the following. volumes.each do |mount_point, volume| cloud_volume "#{mount_point}" do size volume[