[chef] remote_directory resource does not delete files


Chronological Thread 
  • From: < >
  • To:
  • Subject: [chef] remote_directory resource does not delete files
  • Date: Thu, 6 Dec 2012 07:46:34 -0800 (PST)

I have a recipe using the remote_directory resource to place a directory and
its files into a destination directory.  If I remove some of the source files
from the directory in my cookbook and re-run the chef client (solo in this
case), I had expected files that were removed from the cookbook to be removed
from the destination directory.  This does not appear to be the case.  Is 
there
a better way to handle this particular use case (basically something like 
rsync
with delete)?

 Jack



Archive powered by MHonArc 2.6.16.

§