rename facter global to __facter__

This commit is contained in:
Thomas S Hatch 2011-03-15 23:56:35 -06:00
parent 8fd4aabb49
commit 03fd24caf5
2 changed files with 2 additions and 2 deletions

View file

@ -65,7 +65,7 @@ class Minion(object):
continue
try:
module = importlib.import_module('salt.modules.' + mod)
module.facter = facter
module.__facter__ = facter
except:
continue
for attr in dir(module):

View file

@ -29,4 +29,4 @@ def facter_data():
CLI Example:
salt '*' test.facter_data
'''
return facter
return __facter__