This commit is contained in:
Daniel Wallace 2014-05-20 15:29:53 -05:00
parent 7bcd17129d
commit 9abb33f883

View File

@ -2070,7 +2070,7 @@ def cache_node_list(nodes, provider, opts):
if not 'update_cachedir' in opts or not opts['update_cachedir']:
return
base = os.path.join(init_cachedir(opts['cachedir']), 'active')
base = os.path.join(init_cachedir(), 'active')
driver = opts['providers'][provider].keys()[0]
prov_dir = os.path.join(base, driver, provider)
if not os.path.exists(prov_dir):