Module for managing the Salt beacons on a minion
New in version 2015.8.0.
Add a beacon on the minion
name -- Name of the beacon to configure
beacon_data -- Dictionary or list containing configuration for beacon.
Boolean and status message on success or failure of add.
CLI Example:
salt '*' beacons.add ps "[{'processes': {'salt-master': 'stopped', 'apache2': 'stopped'}}]" Delete a beacon item
name -- Name of the beacon to delete
Boolean and status message on success or failure of delete.
CLI Example:
salt '*' beacons.delete ps salt '*' beacons.delete load
Disable all beacons jobs on the minion
Boolean and status message on success or failure of disable.
CLI Example:
salt '*' beacons.disable
Disable a beacon on the minion
Name of the beacon to disable.
Boolean and status message on success or failure of disable.
CLI Example:
salt '*' beacons.disable_beacon ps
Enable all beacons on the minion
Boolean and status message on success or failure of enable.
CLI Example:
salt '*' beacons.enable
Enable beacon on the minion
Name of the beacon to enable.
Boolean and status message on success or failure of enable.
CLI Example:
salt '*' beacons.enable_beacon ps
List the beacons currently configured on the minion
return_yaml -- Whether to return YAML formatted output, default True
include_pillar -- Whether to include beacons that are configured in pillar, default is True.
include_opts -- Whether to include beacons that are configured in opts, default is True.
List of currently configured Beacons.
CLI Example:
salt '*' beacons.list
List the beacons currently available on the minion
return_yaml -- Whether to return YAML formatted output, default True
List of currently configured Beacons.
CLI Example:
salt '*' beacons.list_available
Modify an existing beacon
name -- Name of the beacon to configure
beacon_data -- Dictionary or list containing updated configuration for beacon.
Boolean and status message on success or failure of modify.
CLI Example:
salt '*' beacons.modify ps "[{'salt-master': 'stopped'}, {'apache2': 'stopped'}]" Reset beacon configuration on the minion
CLI Example:
salt '*' beacons.reset
Save all configured beacons to the minion config
Boolean and status message on success or failure of save.
CLI Example:
salt '*' beacons.save
© 2021 SaltStack.
Licensed under the Apache License, Version 2.0.
https://docs.saltproject.io/en/latest/ref/modules/all/salt.modules.beacons.html