diff options
author | Tim Smith <tsmith@chef.io> | 2020-05-07 12:31:47 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-07 12:31:47 -0700 |
commit | 7c6050b61e75ee304859329b54520d2e503bfce1 (patch) | |
tree | 6f1fa8657daec153d3c8d90748d718f96b25bf6c | |
parent | ac1a9a8899eac6ebd71261c1d2a38ffac8093be0 (diff) | |
parent | 5dafe610c1c2b19a9b6aa965c90103058f76f73c (diff) | |
download | chef-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.rb | 2 |
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`." |