OP#830 update Readme
This commit is contained in:
@@ -30,13 +30,20 @@ Time management in Linux is important. The underlying protocol is ntp, the servi
|
|||||||
|
|
||||||
## Features
|
## Features
|
||||||
|
|
||||||
|
This module differentiates between client- and server configuration. If the `FQDN` of the puppet client matches the value of `cy_server_fqdn`, it assumes this to be an ntp time server, else it will be a client.
|
||||||
|
|
||||||
|
If you have no local time server(s), leave the default for `cy_server_fqdn`.
|
||||||
|
|
||||||
|
The value for `cy_server_fqdn` is a string rather array, assuming either a single time server or a round-robin DNS entry for this, returning several values for the time server (not configured by this module).
|
||||||
|
|
||||||
INSTALLATION
|
INSTALLATION
|
||||||
|
|
||||||
- installs chrony binaries
|
- installs chrony binaries
|
||||||
|
|
||||||
CONFIGURATION
|
CONFIGURATION
|
||||||
|
|
||||||
- manage directories and files including templates
|
- manage directories including selinux contexts
|
||||||
|
- and files and their templates including selinux contexts
|
||||||
- manage service
|
- manage service
|
||||||
- optional: include nagios target for the chrony service (set `cy_manage_nagios`to `true`)
|
- optional: include nagios target for the chrony service (set `cy_manage_nagios`to `true`)
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ class confdroid_ntp::params (
|
|||||||
String $cy_pkg_ensure = 'present',
|
String $cy_pkg_ensure = 'present',
|
||||||
|
|
||||||
# configuration
|
# configuration
|
||||||
String $cy_server_fqdn = 'ntp.example.com',
|
String $cy_server_fqdn = 'ntp.example.local',
|
||||||
Array $cy_conf_servers = ['0.pool.ntp.org', '1.pool.ntp.org', '2.pool.ntp.org', '3.pool.ntp.org'],
|
Array $cy_conf_servers = ['0.pool.ntp.org', '1.pool.ntp.org', '2.pool.ntp.org', '3.pool.ntp.org'],
|
||||||
|
|
||||||
) {
|
) {
|
||||||
@@ -25,7 +25,7 @@ class confdroid_ntp::params (
|
|||||||
$fqdn = $facts['networking']['fqdn']
|
$fqdn = $facts['networking']['fqdn']
|
||||||
$domain = $facts['networking']['domain']
|
$domain = $facts['networking']['domain']
|
||||||
$os_name = $facts['os']['name']
|
$os_name = $facts['os']['name']
|
||||||
$os_release = $facts['os']['release']['major']
|
$os_release y= $facts['os']['release']['major']
|
||||||
|
|
||||||
# dirs
|
# dirs
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user