Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)

Expand Down
2 changes: 1 addition & 1 deletion metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 2 additions & 0 deletions recipes/windows_reboot.rb
Original file line number Diff line number Diff line change
@@ -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