diff --git a/salt/loader.py b/salt/loader.py index 04d286cc4e..4a1d2ae0b8 100644 --- a/salt/loader.py +++ b/salt/loader.py @@ -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: