Files

59 lines
1.4 KiB
ObjectPascal
Raw Permalink Normal View History

#### confdroid_ntp::main::dirs.pp
# Module name: confdroid_ntp
# Author: 12ww1160 (12ww1160@confdroid.com)
# @summary Class manages directories for the confdroid_ntp module
###############################################################################
class confdroid_ntp::main::dirs (
) inherits confdroid_ntp::params {
require confdroid_ntp::main::install
2026-10-01 14:14:07 +02:00
# /var/log/chrony
2026-10-04 11:19:54 +02:00
file { '/var/log/chrony':
ensure => directory,
owner => 'chrony',
group => 'chrony',
mode => '0750',
selrange => s0,
selrole => object_r,
2026-10-04 11:34:10 +02:00
seltype => chronyd_var_log_t,
2026-10-04 11:19:54 +02:00
seluser => system_u,
}
2026-10-01 14:14:07 +02:00
# /var/lib/chrony
2026-10-04 11:19:54 +02:00
file { '/var/lib/chrony':
ensure => directory,
owner => 'chrony',
group => 'chrony',
mode => '0750',
selrange => s0,
selrole => object_r,
2026-10-04 11:34:10 +02:00
seltype => chronyd_var_lib_t,
2026-10-04 11:19:54 +02:00
seluser => system_u,
}
2026-10-04 11:46:11 +02:00
# /run/chrony
file { '/run/chrony':
ensure => directory,
owner => 'chrony',
group => 'chrony',
mode => '0750',
selrange => s0,
selrole => object_r,
seltype => chronyd_var_run_t,
seluser => system_u,
}
2026-10-04 11:47:12 +02:00
# /run/chrony-dhcp
file { '/run/chrony-dhcp':
ensure => directory,
2026-10-04 11:58:03 +02:00
owner => 'root',
group => 'root',
2026-10-04 11:52:05 +02:00
mode => '0755',
2026-10-04 11:47:12 +02:00
selrange => s0,
selrole => object_r,
seltype => chronyd_var_run_t,
seluser => system_u,
}
}