Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Unknown
-
Resolution: Fixed
-
Component/s: windows
-
Labels:None
-
Environment:
Chef 0.10.4, SLES 11
Description
The ruby_19_patches.rb unconditionally requires win32/open3 which is definitely not present on non-Windows systems. Thus, if that cookbook is merely present, even if it's not used everything breaks down unconditionally on Linux. However, the mere presence shouldn't break things. Valid use-cases are a simple checkout of git://github.com/opscode/cookbooks for a working basis or when using tools like Librarian which pull all requirements unconditionally.
Simply checking if we are on Windows before trying the patch solves the issue. A pull request is forthcoming.
Pull request is at https://github.com/opscode/cookbooks/pull/330