summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2021-06-17 14:55:07 -0700
committerTim Smith <tsmith@chef.io>2021-07-06 11:41:21 -0700
commit1bd3e335e3725711a4f6ed3089269cce631c299f (patch)
tree5531bec5b71ef32fc851e81a90d3eee5f178454b
parent55fe07248561061310cc630d2b3492c86ed0a160 (diff)
downloadchef-more_more_windows_printer.tar.gz
Signed-off-by: Tim Smith <tsmith@chef.io>
-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 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|