diff options
| author | Tim Smith <tsmith@chef.io> | 2021-06-17 14:55:07 -0700 |
|---|---|---|
| committer | Tim Smith <tsmith@chef.io> | 2021-07-06 11:41:21 -0700 |
| commit | 1bd3e335e3725711a4f6ed3089269cce631c299f (patch) | |
| tree | 5531bec5b71ef32fc851e81a90d3eee5f178454b | |
| parent | 55fe07248561061310cc630d2b3492c86ed0a160 (diff) | |
| download | chef-more_more_windows_printer.tar.gz | |
Boolean facepalmmore_more_windows_printer
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 676e6544ef..d9d6496748 100644 --- a/lib/chef/resource/windows_printer.rb +++ b/lib/chef/resource/windows_printer.rb @@ -117,7 +117,7 @@ class Chef default_description: "The resource block name or the ipv4_address prepended with IP_." def ps_bool_to_ruby(bool) - bool.to_s.downcase == "true" ? true : false + bool.to_s.downcase == "true" end load_current_value do |new_resource| |
