summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjtimberman <joshua@opscode.com>2013-02-13 10:56:10 -0700
committerjtimberman <joshua@opscode.com>2013-02-13 10:56:10 -0700
commit04cd839d53e9dd309808e947beb15016c9e7c802 (patch)
tree494f95f54e5593560a1a6940d9a593aa85176024
parentd44f08a3fed46ed89a5edf9c7cbcc0845d72ec13 (diff)
downloadmixlib-shellout-04cd839d53e9dd309808e947beb15016c9e7c802.tar.gz
release v1.8.41.8.4
-rw-r--r--CHANGELOG.md7
-rw-r--r--README.md6
-rw-r--r--metadata.rb2
-rw-r--r--resources/package.rb4
4 files changed, 15 insertions, 4 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 396838f..6b493f2 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -6,6 +6,13 @@
* windows_registry :force_modify action should use RegNotifyChangeKeyValue from WinAPI
* WindowsRebootHandler/`windows_reboot` LWRP should support kicking off subsequent chef run on reboot.
+## v1.8.4:
+
+* [COOK-2336] - MSI That requires reboot returns with RC 3010 and
+ causes chef run failure
+* [COOK-2368] - `version` attribute of the `windows_package` provider
+ should be documented
+
## v1.8.2:
**Important**: Use powershell in nodes expanded run lists to ensure
diff --git a/README.md b/README.md
index 6e882a4..2829cbd 100644
--- a/README.md
+++ b/README.md
@@ -6,7 +6,7 @@ Provides a set of Windows-specific primitives (Chef resources) meant to aid in t
Requirements
============
-Version 1.3.0+ of this cookbook requires Chef 0.10.10.
+Version 1.3.0+ of this cookbook requires Chef 0.10.10+.
Platform
--------
@@ -186,6 +186,10 @@ For maximum flexibility the `source` attribute supports both remote and local in
- options: Additional options to pass the underlying installation command
- timeout: set a timeout for the package download (default 600 seconds)
- version: The version number of this package, as indicated by the 'DisplayVersion' value in one of the 'Uninstall' registry keys. If the given version number does equal the 'DisplayVersion' in the registry, the package will be installed.
+- success_codes: set an array of possible successful installation
+ return codes. Previously this was hardcoded, but certain MSIs may
+ have a different return code, e.g. 3010 for reboot required. Must be
+ an array, and defaults to `[0, 42, 127]`.
### Examples
diff --git a/metadata.rb b/metadata.rb
index e85bf7e..2778854 100644
--- a/metadata.rb
+++ b/metadata.rb
@@ -4,6 +4,6 @@ maintainer_email "cookbooks@opscode.com"
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.8.2"
+version "1.8.4"
supports "windows"
depends "chef_handler"
diff --git a/resources/package.rb b/resources/package.rb
index d9b3590..a9e822e 100644
--- a/resources/package.rb
+++ b/resources/package.rb
@@ -31,10 +31,10 @@ attribute :checksum, :kind_of => String
attribute :timeout, :kind_of => Integer, :default => 600
attribute :success_codes, :kind_of => Array, :default => [0, 42, 127]
-# TODO
+# TODO
# add preseeding support
-#attribute :response_file
+#attribute :response_file
# allow target dirtory of installation to be set
#attribute :target_dir