mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Comment
This commit is contained in:
parent
8ad7082913
commit
497f965c33
1 changed files with 2 additions and 2 deletions
|
@ -12,7 +12,8 @@ Example beacon to use with salt-proxy
|
|||
# Import Python libs
|
||||
from __future__ import absolute_import
|
||||
|
||||
# Important: Required for the beacon to load!!!
|
||||
# Important: If used with salt-proxy
|
||||
# this is required for the beacon to load!!!
|
||||
__proxyenabled__ = ['*']
|
||||
|
||||
__virtualname__ = 'proxy_example'
|
||||
|
@ -53,6 +54,5 @@ def beacon(config):
|
|||
# TBD
|
||||
# Call rest.py and return the result
|
||||
ret = [{'foo': config['foo']}]
|
||||
log.info('Called the beacon function for proxy_test beacon')
|
||||
|
||||
return ret
|
||||
|
|
Loading…
Add table
Reference in a new issue