diff --git a/doc/puppet_classes/confdroid_ntp_3A_3Amain_3A_3Afiles.html b/doc/puppet_classes/confdroid_ntp_3A_3Amain_3A_3Afiles.html index 73ebe42..7fbf1c4 100644 --- a/doc/puppet_classes/confdroid_ntp_3A_3Amain_3A_3Afiles.html +++ b/doc/puppet_classes/confdroid_ntp_3A_3Amain_3A_3Afiles.html @@ -123,7 +123,28 @@ 25 26 27 -28 +28 +29 +30 +31 +32 +33 +34 +35 +36 +37 +38 +39 +40 +41 +42 +43 +44 +45 +46 +47 +48 +49
# File 'manifests/main/files.pp', line 6
@@ -148,8 +169,29 @@ class confdroid_ntp::main::files (
}
# drift file /var/lib/chrony/drift
+ file { $cy_drift_file:
+ ensure => file,
+ owner => 'chrony',
+ group => 'chrony',
+ mode => '0644',
+ selrange => s0,
+ selrole => object_r,
+ seltype => chronyd_var_lib_t,
+ seluser => system_u,
+ }
# log rotation
+ file { $cy_logrotate_file:
+ ensure => file,
+ owner => 'root',
+ group => 'root',
+ mode => '0644',
+ selrange => s0,
+ selrole => object_r,
+ seltype => etc_t,
+ seluser => system_u,
+ content => template($cy_logrotate_erb),
+ }
}
# File 'manifests/params.pp', line 22
@@ -366,6 +369,9 @@ class confdroid_ntp::params (
# files
$cy_conf_file = '/etc/chrony.conf'
$cy_conf_erb = 'confdroid_ntp/chrony.conf.erb'
+ $cy_drift_file = '/var/lib/chrony/drift'
+ $cy_logrotate_file = '/etc/logrotate.d/chrony'
+ $cy_logrotate_erb = 'confdroid_ntp/logrotate.chrony.erb'
# service
$cy_service = 'chronyd'