[chef-dev] Re: Re: Re: Re: local file copy resource?


Chronological Thread 
  • From: Jesse Campbell < >
  • To: Daniel DeLeo < >
  • Cc: Chef Dev < >
  • Subject: [chef-dev] Re: Re: Re: Re: local file copy resource?
  • Date: Wed, 19 Dec 2012 10:29:44 -0500

I wrote the local_file resource this morning. Haven't written unit tests yet as I still haven't learned the test system, but if this looks good I can move on to that tomorrow.

https://github.com/opscode/chef/pull/560


On Wed, Dec 12, 2012 at 12:03 PM, Jesse Campbell < " target="_blank"> > wrote:
I'll get started on a local_file resource and provider, which will steal functionality from cookbook_file. Then I will modify cookbook_file to be extending local_file to remove the reuse.



On Wed, Dec 12, 2012 at 11:48 AM, Daniel DeLeo < " target="_blank"> > wrote:

On Tuesday, December 11, 2012 at 5:22 PM, Jesse Campbell wrote:

Okay, so what would you like to see? FileCopy provider for local file operations, and CookbookFile extends FileCopy? Where to put Bryan's move?

Happy to go about this differently, but a local option to cookbookfile seems backwards

I agree a local option to cookbook file isn't the right way to go. My favored options are either a file_copy resource and provider, or a local option to remote file.


-- 
Daniel DeLeo





Archive powered by MHonArc 2.6.16.

§