Files
confdroid_automatic/manifests/main/files.pp

25 lines
728 B
ObjectPascal
Raw Normal View History

2026-03-29 15:54:10 +02:00
## confdroid_automatic::main::files.pp
# Module name: confdroid_automatic
# Author: 12ww1160 (12ww1160@confdroid.com)
# @summary Class manages files for the confdroid_automatic module
2025-06-02 17:03:06 +02:00
##############################################################################
2026-03-29 15:54:10 +02:00
class confdroid_automatic::main::files (
2025-06-02 17:03:06 +02:00
2026-03-29 15:54:10 +02:00
) inherits confdroid_automatic::params {
require confdroid_automatic::main::dirs
2025-06-03 16:16:53 +02:00
file { $ac_main_config:
ensure => file,
path => $ac_main_config,
owner => 'root',
group => 'root',
mode => '0644',
selrange => s0,
selrole => object_r,
seltype => etc_t,
seluser => system_u,
content => template($ac_main_config_erb),
notify => Service[$ac_service],
}
2025-06-02 17:03:06 +02:00
}