summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2021-10-25 07:23:47 -0700
committerTim Smith <tsmith84@gmail.com>2021-10-25 07:23:47 -0700
commit74115ca104e9908ab2b7b0824753bb618c1c57fa (patch)
tree5f4c23b4e7b1afd92a726fba0e5cd4cfafa31fbf /lib
parent563784a91e772719bcb21217c761c5c75974b6f1 (diff)
downloadohai-74115ca104e9908ab2b7b0824753bb618c1c57fa.tar.gz
Update quotes
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib')
-rw-r--r--lib/ohai/plugins/azure.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ohai/plugins/azure.rb b/lib/ohai/plugins/azure.rb
index f8224666..c21b8ac7 100644
--- a/lib/ohai/plugins/azure.rb
+++ b/lib/ohai/plugins/azure.rb
@@ -48,7 +48,7 @@ Ohai.plugin(:Azure) do
# check for either the waagent or the unknown-245 DHCP option that Azure uses
# http://blog.mszcool.com/index.php/2015/04/detecting-if-a-virtual-machine-runs-in-microsoft-azure-linux-windows-to-protect-your-software-when-distributed-via-the-azure-marketplace/
def has_waagent?
- if file_exist?("/usr/sbin/waagent") || dir_exist?('C:\WindowsAzure')
+ if file_exist?("/usr/sbin/waagent") || dir_exist?("C:\\WindowsAzure")
logger.trace("Plugin Azure: Found waagent used by Azure.")
true
end