mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
change server_id grain to use __opts__['id']
This commit is contained in:
parent
268b8bffe6
commit
827f070c4e
@ -597,4 +597,4 @@ def get_server_id():
|
||||
'''
|
||||
# Provides:
|
||||
# server_id
|
||||
return { 'server_id': abs(hash(socket.getfqdn()) % 2**31) }
|
||||
return { 'server_id': abs(hash(__opts__['id']) % 2**31) }
|
||||
|
Loading…
Reference in New Issue
Block a user