diff options
-rw-r--r-- | lib/chef/provider/service/windows.rb | 2 | ||||
-rw-r--r-- | spec/unit/provider/service/windows_spec.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/provider/service/windows.rb b/lib/chef/provider/service/windows.rb index ea2b964023..d370ecff51 100644 --- a/lib/chef/provider/service/windows.rb +++ b/lib/chef/provider/service/windows.rb @@ -229,7 +229,7 @@ class Chef::Provider::Service::Windows < Chef::Provider::Service converge_if_changed :service_type, :startup_type, :error_control, :binary_path_name, :load_order_group, :dependencies, - :run_as_user, :display_name do + :run_as_user, :display_name, :description do Win32::Service.configure(windows_service_config(:configure)) end diff --git a/spec/unit/provider/service/windows_spec.rb b/spec/unit/provider/service/windows_spec.rb index b5db23591c..edc409fab0 100644 --- a/spec/unit/provider/service/windows_spec.rb +++ b/spec/unit/provider/service/windows_spec.rb @@ -380,7 +380,7 @@ describe Chef::Provider::Service::Windows, "load_current_resource" do # Attributes that are Strings %i{binary_path_name load_order_group dependencies run_as_user - display_name}.each do |attr| + display_name description}.each do |attr| it "configures service if #{attr} has changed" do provider.current_resource.send("#{attr}=", "old value") provider.new_resource.send("#{attr}=", "new value") |