33 lines
941 B
ReStructuredText
33 lines
941 B
ReStructuredText
``profile::ntp_client``
|
|
=======================
|
|
|
|
This module configures the NTP client to synchronize the local system time with
|
|
a number of time servers. Queries by other systems are disabled for security
|
|
reasons.
|
|
|
|
|
|
Parameters
|
|
----------
|
|
|
|
=============================== ======== ================================================
|
|
**Name** **Type** **Default**
|
|
------------------------------- -------- ------------------------------------------------
|
|
servers hash hiera_hash('ntp_client::servers')
|
|
=============================== ======== ================================================
|
|
|
|
|
|
``servers``
|
|
~~~~~~~~~~~
|
|
|
|
A hash containing the list of NTP servers for each :doc:`network zone
|
|
<../profiles/networking>`, eg.::
|
|
|
|
ntp_client::servers:
|
|
'default':
|
|
- 'pstime1.psi.ch'
|
|
- 'pstime2.psi.ch'
|
|
- 'pstime3.psi.ch'
|
|
'dmz':
|
|
- 'dmztime1.psi.ch'
|
|
- 'dmztime2.psi.ch'
|