[chef] Does remote_file not support lazy attributes?


Chronological Thread 
  • From: Jeppe Nejsum Madsen < >
  • To: " " < >
  • Subject: [chef] Does remote_file not support lazy attributes?
  • Date: Tue, 25 Mar 2014 12:58:03 +0100

I get the following when trying to use a lazy attribute:


This is the chef-shell.
 Chef Version: 11.10.4

chef:recipe > remote_file "/tmp/g2" do
chef:recipe > source lazy {"http://www.google.com"}
chef:recipe ?> end
Chef::Exceptions::InvalidRemoteFileURI: #<Chef::DelayedEvaluator:0x007fd464c092a8@(irb#1):7> is not a valid `source` parameter for remote_file. `source` must be an absolute URI or an array of URIs.

Any hints?

/Jeppe




Archive powered by MHonArc 2.6.16.

§