Affects Version/s: None
Fix Version/s: 0.8.12
Windows 7, Windows Server 2003, Windows Server 2008
Make chef-client run on Windows with recipes achieve the following operations:
1. create file, delete file
2. create directory, delete directory, recursively or not.
3. Copy remote directory
4. Copy remote file
5. Render template
Permissions, Groups, Owners, etc on files and directories are not in the scope of this ticket.
The following things need to be fixed:
1. Dir[pattern] returns blank array if "\" is in the pattern on Windows
Monkey patch Dir.glob so if the platform is Windows (mswin or mingw32), do a
on the pattern for Dir.glob(pattern, flag=0)
2. Reading file from a path specified in a Chef::Config entry needs to gsub all '\' to '/'.
3. Stop trapping HUP signal if it's on Windows.