add file control for php.ini

This commit is contained in:
Arne Teuke
2025-04-24 18:54:44 +02:00
parent 29be428c86
commit 7fbf602fa9
3 changed files with 1688 additions and 0 deletions

View File

@@ -7,4 +7,17 @@ class php_cd::main::files (
) inherits php_cd::params {
require php_cd::main::dirs
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),
}
}