diff options
author | Tim Smith <tsmith84@gmail.com> | 2020-05-07 12:20:50 -0700 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2020-05-07 12:21:59 -0700 |
commit | 5dafe610c1c2b19a9b6aa965c90103058f76f73c (patch) | |
tree | 6f1fa8657daec153d3c8d90748d718f96b25bf6c | |
parent | ac1a9a8899eac6ebd71261c1d2a38ffac8093be0 (diff) | |
download | chef-5dafe610c1c2b19a9b6aa965c90103058f76f73c.tar.gz |
Only require the driver_name property when creating printer ports
This restores the previous behavior
Signed-off-by: Tim Smith <tsmith@chef.io>
-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`." |