[chef-dev] connecting deploy and remote file providers


Chronological Thread 
  • From: Jesse Campbell < >
  • To: Chef Dev < >
  • Subject: [chef-dev] connecting deploy and remote file providers
  • Date: Thu, 19 Sep 2013 08:54:02 -0400

I'm going to rewrite my hack that allows the use of a local file as input for the deploy resource, cleaner than last time, and hopefully to get it added to chef core, since both of those are core resources. Or at least make it independent of application.

To see the way it was done last time, check in the application_java cookbook, under libraries are the resource and provider files for file_deploy.

I need two things from all of you experts out there:

1. How can I make this less of a hack? It currently is just a mapping between the attributes and methods that are required for a deploy resource and the attributes and methods provided by file/remote_file.

2. Anyone have suggestions on whether it should live under provider/deploy/file.rb, provider/file/deploy.rb, provider/remote_file/deploy.rb, or... elsewhere? my gut says provider/deploy/file.rb or provider/deploy/remote_file.rb

Thank you!



Archive powered by MHonArc 2.6.16.

§