Puppet Class: confdroid_ssh::main::files

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

Summary

Class manages files

Overview

confdroid_ssh::main::files.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
# File 'manifests/main/files.pp', line 6

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

  file { $sshd_config_path:
    ensure   => file,
    path     => $sshd_config_path,
    owner    => $sshd_user,
    group    => $sshd_user,
    mode     => '0640',
    selrange => s0,
    selrole  => object_r,
    seltype  => etc_t,
    seluser  => system_u,
    content  => template($sshd_config_erb),
    notify   => Service[$sshd_service],
  }
}