X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/53259637f9cef468ce51524a5e6d3fe38eb52c50..b20599b6503be65674c3e420be6cca91b507ac0a:/cookbooks/hardware/attributes/default.rb diff --git a/cookbooks/hardware/attributes/default.rb b/cookbooks/hardware/attributes/default.rb index 46b5893a8..2a4e8e272 100644 --- a/cookbooks/hardware/attributes/default.rb +++ b/cookbooks/hardware/attributes/default.rb @@ -33,7 +33,7 @@ if node[:kernel][:modules].include?("ipmi_si") default[:hardware][:modules] |= [ "ipmi_devintf" ] end -if File.exists?("/proc/xen") +if File.exist?("/proc/xen") default[:hardware][:watchdog] = "xen_wdt" elsif node[:kernel][:modules].include?("i6300esb") default[:hardware][:watchdog] = "none"