summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Plugins/Ohai.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/Server/Plugins/Ohai.py')
-rw-r--r--src/lib/Server/Plugins/Ohai.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Server/Plugins/Ohai.py b/src/lib/Server/Plugins/Ohai.py
index b20218792..02d6ef58b 100644
--- a/src/lib/Server/Plugins/Ohai.py
+++ b/src/lib/Server/Plugins/Ohai.py
@@ -43,7 +43,7 @@ class Ohai(Bcfg2.Server.Plugin.Plugin,
try:
os.stat(self.data)
except:
- self.make_path(self.data)
+ os.makedirs(self.data)
self.cache = OhaiCache(self.data)
def GetProbes(self, meta, force=False):