opscode/chef — pull request #306 by schisamo (2012-05-30 04:30:31+00:00)
Title: Proposed changes for [CHEF-3142]

@danielsdeleo please give this a quick once over before I merge it.

* Gracefully handle unimplemented Win32 API functions - this basically allows older versions of Windows to continue working as they did before Chef 0.10.10.
* Print a friendly error message when the Link resource/provider is used on older unsupported versions of Windows. The Win32 API functions for creating links only exist on Windows Vista+ and Windows Server 2008+. If the link resource is used on older versions of Windows a friendly message is logged and the Chef run is aborted.