mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
no external_ip grain, any add-on grain will need to use
a different function name
This commit is contained in:
parent
470118a2ca
commit
34d1f358c6
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user