Puppet Class: confdroid_ntp::main::files

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

Summary

Class manages files for the confdroid_ntp module

Overview

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

class confdroid_ntp::main::files (

) inherits confdroid_ntp::params {
  require confdroid_ntp::main::dirs

  # main configuration file
  file { $cy_conf_file:
    ensure   => file,
    owner    => 'root',
    group    => 'root',
    mode     => '0644',
    selrange => s0,
    selrole  => object_r,
    seltype  => etc_t,
    seluser  => system_u,
    content  => template($cy_conf_erb),
    notify   => Service[$cy_service],
  }

  # drift file /var/lib/chrony/drift

  # log rotation
}