summaryrefslogtreecommitdiff
path: root/lib/ohai/plugins/powershell.rb
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2017-06-01 14:47:18 -0700
committerTim Smith <tsmith@chef.io>2017-06-01 14:47:18 -0700
commit4642ab0bbf7b4a7d80fc6a937f59f72eec2516f5 (patch)
tree77736532fca0ddb3050a4acf4e28eadb793132ca /lib/ohai/plugins/powershell.rb
parent484d8b538d547096ed4472ca5a795d21d0d902db (diff)
downloadohai-4642ab0bbf7b4a7d80fc6a937f59f72eec2516f5.tar.gz
More consistent debug messaging
I think this is the last of it. Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/ohai/plugins/powershell.rb')
-rw-r--r--lib/ohai/plugins/powershell.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ohai/plugins/powershell.rb b/lib/ohai/plugins/powershell.rb
index af8da75d..b79e8190 100644
--- a/lib/ohai/plugins/powershell.rb
+++ b/lib/ohai/plugins/powershell.rb
@@ -51,7 +51,7 @@ Ohai.plugin(:Powershell) do
languages[:powershell] = powershell unless powershell.empty?
end
rescue Ohai::Exceptions::Exec
- Ohai::Log.debug('Powershell plugin: Could not shell_out "powershell.exe -NoLogo -NonInteractive -NoProfile -command $PSVersionTable". Skipping plugin')
+ Ohai::Log.debug('Plugin Powershell: Could not shell_out "powershell.exe -NoLogo -NonInteractive -NoProfile -command $PSVersionTable". Skipping plugin')
end
end