no external_ip grain, any add-on grain will need to use

a different function name
This commit is contained in:
Thomas S Hatch 2014-06-26 16:57:49 -06:00
parent 470118a2ca
commit 34d1f358c6

View File

@ -1204,6 +1204,8 @@ class Loader(object):
grains_data = {}
funcs = self.gen_functions()
for key, fun in funcs.items():
if key and fun == 'external_ip':
continue
if key[key.index('.') + 1:] == 'core':
continue
try: