Refer to files, directory in other cookbook

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


ATTENTION:
The information in this electronic mail message is private and
confidential, and only intended for the addresses. Should you
receive this message by mistake, you are hereby notified that
any disclosure, reproduction, distribution or use of this
message is strictly prohibited. Please inform the sender by
reply transmission and delete the message without copying or
opening it.

Set the cookbook parameter of the template/cookbook_file resource

http://wiki.opscode.com/display/chef/Resources#Resources-CookbookFile
http://wiki.opscode.com/display/chef/Resources#Resources-Template

HTH,
Dan DeLeo

On Wed, Sep 22, 2010 at 7:54 AM, le.huy@ingdirect.es 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


ATTENTION:
The information in this electronic mail message is private and
confidential, and only intended for the addressee. Should you
receive this message by mistake, you are hereby notified that
any disclosure, reproduction, distribution or use of this
message is strictly prohibited. Please inform the sender by
reply transmission and delete the message without copying or
opening it.
Messages and attachments are scanned for all viruses known.
If this message contains password-protected attachments, the
files have NOT been scanned for viruses by the ING mail domain.
Always scan attachments before opening them.

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, le.huy@ingdirect.es 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