summaryrefslogtreecommitdiff
path: root/lib/chef/resource/windows_printer_port.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/resource/windows_printer_port.rb')
-rw-r--r--lib/chef/resource/windows_printer_port.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/resource/windows_printer_port.rb b/lib/chef/resource/windows_printer_port.rb
index 2a4eaa09b3..e61785d50b 100644
--- a/lib/chef/resource/windows_printer_port.rb
+++ b/lib/chef/resource/windows_printer_port.rb
@@ -95,7 +95,7 @@ class Chef
port_name desired.port_name || "IP_#{desired.ipv4_address}"
end
- action :create do
+ action :create, description: "Create the printer port, if one doesn't already exist" do
description "Create the new printer port if it does not already exist."
if port_exists?
@@ -107,7 +107,7 @@ class Chef
end
end
- action :delete do
+ action :delete, description: "Delete an existing printer port" do
description "Delete an existing printer port."
if port_exists?