diff options
author | Tim Smith <tsmith84@gmail.com> | 2020-07-13 10:01:52 -0700 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2020-07-27 11:03:07 -0700 |
commit | 82fffd509b5c7462f0fb1c5677b601000d47bf91 (patch) | |
tree | 364ab77b7ae42cba822df2869115b912c1fa9385 /lib/chef | |
parent | 61ba4f6432593f4f594eb38526503b19d66a6ba3 (diff) | |
download | chef-82fffd509b5c7462f0fb1c5677b601000d47bf91.tar.gz |
Add end-to-end hostname testing
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/chef')
-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 dcf7354446..793006096d 100644 --- a/lib/chef/resource/hostname.rb +++ b/lib/chef/resource/hostname.rb @@ -248,8 +248,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 |