Configure NTP peers on the device via a salt proxy.
codeauthor: | Mircea Ulinic <mircea@cloudflare.com> & Jerome Fleury <jf@cloudflare.com> |
---|---|
maturity: | new |
depends: | napalm |
platform: | linux |
salt.states.netntp.
managed
(name, peers=None)¶Updates the list of NTP peers on the devices as speified in the state SLS file. NTP peers not specified in this list will be removed and peers that are not configured will be set.
SLS Example:
netntp_example:
netntp.managed:
- peers:
- 192.168.0.1
- 172.17.17.1