diff options
author | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2011-08-19 08:45:28 -0400 |
---|---|---|
committer | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2011-08-19 08:45:28 -0400 |
commit | b210cec604900eb5464100996c946a1c3a793e63 (patch) | |
tree | e61f7d5a85068d7c1e4d05717e169f7e96a4d0a5 /src/lib/Server/Plugins | |
parent | e6e86affe3e12cbd4a4018bdcf461e2bf98bbbb7 (diff) | |
download | bcfg2-b210cec604900eb5464100996c946a1c3a793e63.tar.gz bcfg2-b210cec604900eb5464100996c946a1c3a793e63.tar.bz2 bcfg2-b210cec604900eb5464100996c946a1c3a793e63.zip |
set path in Ohai probe
Diffstat (limited to 'src/lib/Server/Plugins')
-rw-r--r-- | src/lib/Server/Plugins/Ohai.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/Server/Plugins/Ohai.py b/src/lib/Server/Plugins/Ohai.py index 301d01193..5fff20d98 100644 --- a/src/lib/Server/Plugins/Ohai.py +++ b/src/lib/Server/Plugins/Ohai.py @@ -21,6 +21,8 @@ except: probecode = """#!/bin/sh +export PATH=$PATH:/sbin:/usr/sbin + if type ohai >& /dev/null; then ohai else |