diff options
-rw-r--r-- | lib/chef/resource/hostname.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/hostname.rb b/lib/chef/resource/hostname.rb index 8c15cf5a2b..592951a3b8 100644 --- a/lib/chef/resource/hostname.rb +++ b/lib/chef/resource/hostname.rb @@ -245,8 +245,8 @@ class Chef # reboot because $windows reboot "setting hostname" do reason "#{Chef::Dist::PRODUCT} updated system hostname" - action :nothing only_if { new_resource.windows_reboot } + action :request_reboot end end end |