diff --git a/CHANGELOG.md b/CHANGELOG.md index 006504e..d469354 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,9 @@ # powershell Cookbook CHANGELOG This file is used to list changes made in each version of the powershell cookbook. +## 6.1.3 (2019-09-10) + +- Added an optional reboot delay ## 6.1.3 (2018-09-20) diff --git a/metadata.rb b/metadata.rb index 8662768..d462494 100644 --- a/metadata.rb +++ b/metadata.rb @@ -3,7 +3,7 @@ maintainer_email 'cookbooks@chef.io' license 'Apache-2.0' description 'Installs/Configures PowerShell on the Windows platform' -version '6.1.3' +version '6.1.4' supports 'windows' depends 'windows', '>= 3.0' diff --git a/recipes/windows_reboot.rb b/recipes/windows_reboot.rb index 090a0ba..5964fef 100644 --- a/recipes/windows_reboot.rb +++ b/recipes/windows_reboot.rb @@ -1,7 +1,9 @@ # this recipe can be called from any recipe for windows reboot. Just specify default['powershell']['reboot_notifier'] node.default['windows']['allow_pending_reboots'] = true node.default['windows']['allow_reboot_on_failure'] = true +node.default['windows']['delay'] = 0 reboot 'powershell' do + delay_mins node['windows']['delay'] action :nothing end