[chef] Re: Refer to files, directory in other cookbook


Chronological Thread 
  • From: Ash Berlin < >
  • To:
  • Subject: [chef] Re: Refer to files, directory in other cookbook
  • Date: Wed, 22 Sep 2010 17:30:19 +0100

For templates you do it as below - try the same for cookbook_file

template "/foo/bar" do
  source "bar.erb"
  cookbook "my-other-cookbook"
end

-ash

On 22 Sep 2010, at 15:54, 
< >
 wrote:
> Hi
>  
> Does anyone knows how to in recipe one cookbook use to file, directory of 
> other cookbook ?
> remote_directory and cookbook_file seems to work only with file inside the 
> cookbook




Archive powered by MHonArc 2.6.16.

§