I had to copy some files to a Windows host from a Windows shared folder the other day. To my horror, I realized that there is no built-in option for this:
- remote_file does not accept a Windows network share as a source
- windows_package (from the Windows cookbook) is intended only to run installers (.msi / .exe, etc.), ...?
Is the only solution to write a special helper library that copies a file? This sounds like the basic functionality that must exist in the remote_file. Am I missing something or does the chef have no built-in option for a simple copy of files from Windows shares?
source
share