mirror of
https://github.com/valitydev/salt.git
synced 2024-11-06 08:35:21 +00:00
Rename obsolete beacon validation function
This commit is contained in:
parent
03f228d4a6
commit
75acce19f1
@ -305,7 +305,7 @@ the minion. The ``beacon`` function therefore cannot block and should be as
|
||||
lightweight as possible. The ``beacon`` also must return a list of dicts, each
|
||||
dict in the list will be translated into an event on the master.
|
||||
|
||||
Beacons may also choose to implement a ``__validate__`` function which
|
||||
Beacons may also choose to implement a ``validate`` function which
|
||||
takes the beacon configuration as an argument and ensures that it
|
||||
is valid prior to continuing. This function is called automatically
|
||||
by the Salt loader when a beacon is loaded.
|
||||
|
@ -27,7 +27,7 @@ def __virtual__():
|
||||
'only available on AIX systems.')
|
||||
|
||||
|
||||
def __validate__(config):
|
||||
def validate(config):
|
||||
'''
|
||||
Validate the beacon configuration
|
||||
'''
|
||||
|
Loading…
Reference in New Issue
Block a user