Recommit for updates in build 7
This commit is contained in:
@@ -144,7 +144,7 @@ class confdroid_ntp::main::files (
|
||||
seltype => etc_t,
|
||||
seluser => system_u,
|
||||
content => template($cy_conf_erb),
|
||||
notify => Service[$cy_service],
|
||||
notify => Service[$cy_service],
|
||||
}
|
||||
|
||||
# drift file /var/lib/chrony/drift
|
||||
|
||||
@@ -144,6 +144,24 @@
|
||||
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
<span class='name'>cy_server_fqdn</span>
|
||||
|
||||
|
||||
<span class='type'>(<tt>String</tt>)</span>
|
||||
|
||||
|
||||
<em class="default">(defaults to: <tt>'ntp.example.com'</tt>)</em>
|
||||
|
||||
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>FQDN of the NTP server to configure. If the fqdn of the host matches this value, a time server will be configured, else a client.</p>
|
||||
</div>
|
||||
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
<span class='name'>cy_conf_servers</span>
|
||||
@@ -155,6 +173,11 @@
|
||||
<em class="default">(defaults to: <tt>['0.pool.ntp.org', '1.pool.ntp.org', '2.pool.ntp.org', '3.pool.ntp.org']</tt>)</em>
|
||||
|
||||
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>List of NTP servers to point to as time source</p>
|
||||
</div>
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
@@ -168,10 +191,6 @@
|
||||
<pre class="lines">
|
||||
|
||||
|
||||
9
|
||||
10
|
||||
11
|
||||
12
|
||||
13
|
||||
14
|
||||
15
|
||||
@@ -192,10 +211,15 @@
|
||||
30
|
||||
31
|
||||
32
|
||||
33</pre>
|
||||
33
|
||||
34
|
||||
35
|
||||
36
|
||||
37
|
||||
38</pre>
|
||||
</td>
|
||||
<td>
|
||||
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 9</span>
|
||||
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 13</span>
|
||||
|
||||
class confdroid_ntp::params (
|
||||
|
||||
@@ -204,6 +228,7 @@ class confdroid_ntp::params (
|
||||
String $cy_pkg_ensure = 'present',
|
||||
|
||||
# configuration
|
||||
String $cy_server_fqdn = 'ntp.example.com',
|
||||
Array $cy_conf_servers = ['0.pool.ntp.org', '1.pool.ntp.org', '2.pool.ntp.org', '3.pool.ntp.org'],
|
||||
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user