Files
confdroid_selinux/manifests/main/dirs.pp

23 lines
614 B
ObjectPascal
Raw Normal View History

2017-07-20 13:43:17 +01:00
## cd_selinux::main::dirs.pp
2017-07-20 12:49:07 +01:00
# Module name: cd_selinux
# Author: Arne Teuke (arne_teuke@ConfDroid.com)
# @summary Class manages all directories required for cd_selinux.
###############################################################################
2017-07-20 13:43:17 +01:00
class cd_selinux::main::dirs (
2017-07-20 12:49:07 +01:00
) inherits cd_selinux::params {
require cd_selinux::main::install
file { $sx_main_dir:
ensure => directory,
path => $sx_main_dir,
owner => 'root',
group => 'root',
mode => '0755',
selrange => s0,
selrole => object_r,
seltype => selinux_config_t,
seluser => system_u,
2017-07-20 12:49:07 +01:00
}
}