diff --git a/README.md b/README.md index fb26368..e1cc506 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ This module differentiates between client- and server configuration. If the `FQD If you have no local time server(s), leave `cy_use_lan_server` at `false` (default), else set it to `true`. This affects only client configurations. -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). +The value for `cy_server_fqdn` is a string rather array, assuming either a single time server or a round-robin DNS CNAME entry returning several values for the time server (not configured by this module). INSTALLATION diff --git a/manifests/main/dirs.pp b/manifests/main/dirs.pp index 27166de..a44a4e4 100644 --- a/manifests/main/dirs.pp +++ b/manifests/main/dirs.pp @@ -9,6 +9,26 @@ class confdroid_ntp::main::dirs ( require confdroid_ntp::main::install # /var/log/chrony + file { '/var/log/chrony': + ensure => directory, + owner => 'chrony', + group => 'chrony', + mode => '0750', + selrange => s0, + selrole => object_r, + seltype => chrony_var_log_t, + seluser => system_u, + } # /var/lib/chrony + file { '/var/lib/chrony': + ensure => directory, + owner => 'chrony', + group => 'chrony', + mode => '0750', + selrange => s0, + selrole => object_r, + seltype => chrony_var_lib_t, + seluser => system_u, + } } diff --git a/templates/chrony.conf.erb b/templates/chrony.conf.erb index a8d0251..653d260 100644 --- a/templates/chrony.conf.erb +++ b/templates/chrony.conf.erb @@ -57,7 +57,6 @@ logdir /var/log/chrony # Select which information is logged. log <%= @cy_loginfo %> - <% end %> @@ -117,5 +116,4 @@ logdir /var/log/chrony # Select which information is logged. log <%= @cy_loginfo %> - <% end %>