Files
confdroid_php/manifests/main/files.pp

24 lines
622 B
ObjectPascal
Raw Normal View History

2026-02-07 13:34:25 +01:00
## confdroid_php::main::files.pp
# Module name: confdroid_php
# Author: 12ww1160 (12ww1160@confdroid.com)
2025-04-24 18:45:54 +02:00
# @summary Class manages file aspects
##############################################################################
2026-02-07 13:34:25 +01:00
class confdroid_php::main::files (
2025-04-24 18:45:54 +02:00
2026-02-07 13:34:25 +01:00
) inherits confdroid_php::params {
require confdroid_php::main::dirs
2025-04-24 18:54:44 +02:00
file { $php_ini_file:
ensure => file,
path => $php_ini_file,
owner => 'root',
group => 'root',
mode => '0644',
selrange => s0,
selrole => object_r,
seltype => etc_t,
seluser => system_u,
content => template($php_ini_erb),
}
2025-04-24 18:45:54 +02:00
}