Puppet Class: cd_selinux::main::dirs

Inherits:
cd_selinux::params
Defined in:
manifests/main/dirs.pp

Summary

Class manages all directories required for cd_selinux.

Overview

cd_selinux::main::dirs.pp Module name: cd_selinux Author: Arne Teuke (arne_teuke@ConfDroid.com)



6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# File 'manifests/main/dirs.pp', line 6

class cd_selinux::main::dirs (

) 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,
  }
}