mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #47284 from skjaro/beacon_diskusage_doc_fix
Fix beacon diskusage documentation for the new beahavior mentioned in issue #47267
This commit is contained in:
commit
6215a995d8
1 changed files with 3 additions and 3 deletions
|
@ -63,8 +63,8 @@ def beacon(config):
|
|||
beacons:
|
||||
diskusage:
|
||||
- interval: 120
|
||||
- 'c:\': 90%
|
||||
- 'd:\': 50%
|
||||
- 'c:\\': 90%
|
||||
- 'd:\\': 50%
|
||||
|
||||
Regular expressions can be used as mount points.
|
||||
|
||||
|
@ -73,7 +73,7 @@ def beacon(config):
|
|||
beacons:
|
||||
diskusage:
|
||||
- '^\/(?!home).*$': 90%
|
||||
- '^[a-zA-Z]:\$': 50%
|
||||
- '^[a-zA-Z]:\\$': 50%
|
||||
|
||||
The first one will match all mounted disks beginning with "/", except /home
|
||||
The second one will match disks from A:\ to Z:\ on a Windows system
|
||||
|
|
Loading…
Add table
Reference in a new issue