Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Unknown
-
Resolution: Fixed
-
Affects Version/s: 0.10.2, 0.10.4
-
Fix Version/s: 0.10.10
-
Component/s: Chef Client
-
Labels:
-
Environment:
Ubuntu
Description
remote_directory fails trying to purge a non-empty directory
remote_directory fails if "purge" is set to true and the destination directory is not empty. e.g.
trying to copy to
A |_B |_C
fails stating "B" is not empty. The failure is primarily because Directory.rm does not force delete.
FileUtils.rm_rf may be a better bet.
Issue Links
- is duplicated by
-
CHEF-3028
remote_directory purge fails with managed folders only containing folders
-
Damn you wiki markup!
The folder structure intended was
A -> B -> C