Puppet Class: confdroid_ssh::main::dirs

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

Summary

Class manages directories

Overview

confdroid_ssh::main::dirs.pp Module name: confdroid_ssh Author: 12ww1160 (12ww1160@confdroid.com)



6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# File 'manifests/main/dirs.pp', line 6

class confdroid_ssh::main::dirs (
) inherits confdroid_ssh::params {
  require confdroid_ssh::main::install

  file { $ssh_etc_path:
    ensure   => directory,
    path     => $ssh_etc_path,
    owner    => $sshd_user,
    group    => $sshd_user,
    mode     => '0755',
    selrange => s0,
    selrole  => object_r,
    seltype  => etc_t,
    seluser  => system_u,
  }

  file { $sshd_custom_path:
    ensure   => directory,
    owner    => $sshd_user,
    group    => $sshd_user,
    mode     => '0755',
    selrange => s0,
    selrole  => object_r,
    seltype  => etc_t,
    seluser  => system_u,
  }
}