summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2020-05-07 12:31:47 -0700
committerGitHub <noreply@github.com>2020-05-07 12:31:47 -0700
commit7c6050b61e75ee304859329b54520d2e503bfce1 (patch)
tree6f1fa8657daec153d3c8d90748d718f96b25bf6c
parentac1a9a8899eac6ebd71261c1d2a38ffac8093be0 (diff)
parent5dafe610c1c2b19a9b6aa965c90103058f76f73c (diff)
downloadchef-7c6050b61e75ee304859329b54520d2e503bfce1.tar.gz
Merge pull request #9824 from chef/printer_required
Only require the driver_name property when creating printer ports
-rw-r--r--lib/chef/resource/windows_printer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/windows_printer.rb b/lib/chef/resource/windows_printer.rb
index 7dba197bb1..e5cc0ea6f7 100644
--- a/lib/chef/resource/windows_printer.rb
+++ b/lib/chef/resource/windows_printer.rb
@@ -62,7 +62,7 @@ class Chef
property :driver_name, String,
description: "The exact name of printer driver installed on the system.",
- required: true
+ required: [:create]
property :location, String,
description: "Printer location, such as `Fifth floor copy room`."