summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThom May <thom@may.lt>2017-12-04 11:00:32 +0000
committerGitHub <noreply@github.com>2017-12-04 11:00:32 +0000
commite0c19664cb46e8e7aa1ff15b4792731a801c211a (patch)
treed85d64247c68da1949bc0ec13a6dcc9ab0934f11
parentc63cdaae7c51fcbc99a27f3431dbb7c083b68c14 (diff)
parent365c4fefb8a45a5b6e38d357647bc00ce8143beb (diff)
downloadohai-e0c19664cb46e8e7aa1ff15b4792731a801c211a.tar.gz
Merge pull request #1100 from chef/missing_log
Add missing debug log message for xlc missing on AIX
-rw-r--r--lib/ohai/plugins/c.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ohai/plugins/c.rb b/lib/ohai/plugins/c.rb
index ced74ced..a8bcebd7 100644
--- a/lib/ohai/plugins/c.rb
+++ b/lib/ohai/plugins/c.rb
@@ -134,6 +134,7 @@ Ohai.plugin(:C) do
end
end
rescue Ohai::Exceptions::Exec
+ Ohai::Log.debug("Plugin C: 'xlc' binary could not be found. Skipping data.")
end
def collect_sunpro