salt.beacons.proxy_example module

Example beacon to use with salt-proxy

beacons:
  proxy_example:
    endpoint: beacon
salt.beacons.proxy_example.__virtual__()

Trivially let the beacon load for the test example. For a production beacon we should probably have some expression here.

salt.beacons.proxy_example.beacon(config)

Called several times each second https://docs.saltstack.com/en/latest/topics/beacons/#the-beacon-function

beacons:
  proxy_example:
    - endpoint: beacon
salt.beacons.proxy_example.validate(config)

Validate the beacon configuration

Docs for previous releases are available on readthedocs.org.

Latest Salt release: 2018.3.0

Previous topic

salt.beacons.pkg

Next topic

salt.beacons.ps module