Skip to content

Commit

Permalink
5.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
spuder committed Jul 19, 2018
1 parent db986d9 commit f7f1762
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
5.1.1
-----
Fix double_reboot error on chef 14 (#37)

5.1.0
-----
Change schedule task modify to make more chef 13 friendly
Expand Down
2 changes: 1 addition & 1 deletion metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
issues_url 'https://github.com/NetDocuments/ad-join-cookbook/issues'
source_url 'https://github.com/NetDocuments/ad-join-cookbook'
version '5.1.0'
version '5.1.1'

depends 'windows', '>= 1.36.0'

Expand Down
2 changes: 1 addition & 1 deletion resources/domain_join_windows.rb
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
file 'c:/Windows/chef-ad-join.txt' do
content 'Placed by ad-join cookbook. Cookbook will keep rebooting windows until server is part of a domain and this file exists. DONT DELETE'
action :create_if_missing
only_if { double_reboot == true }
only_if { new_resource.double_reboot == true }
notifies :reboot_now, 'reboot[Restart Computer]', :immediately
end

Expand Down

0 comments on commit f7f1762

Please sign in to comment.