Skip to content

Commit

Permalink
COOK-656, begin/rescue on win32/registry
Browse files Browse the repository at this point in the history
  • Loading branch information
jtimberman authored and schisamo committed Jul 27, 2011
1 parent 18c6784 commit 95ec19c
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
7 changes: 7 additions & 0 deletions windows/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@ Description

Provides a set of Windows-specific primitives (Chef resources) meant to aid in the creation of cookbooks/recipes targeting the Windows platform.

Changes
=======

## v1.0.1:

* COOK-656, begin/rescue on win32/registry

Requirements
============

Expand Down
3 changes: 2 additions & 1 deletion windows/metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
license "Apache 2.0"
description "Provides a set of useful Windows-specific primitives."
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version "1.0.0"
version "1.0.1"
supports "windows"
6 changes: 5 additions & 1 deletion windows/providers/package.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,12 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
begin
require 'win32/registry'
rescue LoadError
Chef::Log.warn("Could not load win32/registry")
end

require 'win32/registry'
require 'chef/mixin/shell_out'
require 'chef/mixin/language'
include Chef::Mixin::ShellOut
Expand Down

0 comments on commit 95ec19c

Please sign in to comment.