mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
network_settings.py: fix documentation
Module documentation is showing an incorrect config example since it's omitting the network_settings identifier. Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
This commit is contained in:
parent
70e1f18b89
commit
2040dbeca5
1 changed files with 12 additions and 10 deletions
|
@ -100,12 +100,13 @@ def beacon(config):
|
|||
.. code-block:: yaml
|
||||
|
||||
beacons:
|
||||
eth0:
|
||||
ipaddr:
|
||||
promiscuity:
|
||||
onvalue: 1
|
||||
eth1:
|
||||
linkmode:
|
||||
network_settings:
|
||||
eth0:
|
||||
ipaddr:
|
||||
promiscuity:
|
||||
onvalue: 1
|
||||
eth1:
|
||||
linkmode:
|
||||
|
||||
The config above will check for value changes on eth0 ipaddr and eth1 linkmode. It will also
|
||||
emit if the promiscuity value changes to 1.
|
||||
|
@ -119,10 +120,11 @@ def beacon(config):
|
|||
.. code-block:: yaml
|
||||
|
||||
beacons:
|
||||
coalesce: True
|
||||
eth0:
|
||||
ipaddr:
|
||||
promiscuity:
|
||||
network_settings:
|
||||
coalesce: True
|
||||
eth0:
|
||||
ipaddr:
|
||||
promiscuity:
|
||||
|
||||
'''
|
||||
ret = []
|
||||
|
|
Loading…
Add table
Reference in a new issue