summaryrefslogtreecommitdiff
path: root/manifests/logrotater.pp
blob: a864241467ffb9525c4121791317dbede0a343b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
class s6::logrotater {
  $basedir = '/etc/s6-services/s6-logrotater'

  file {
    $basedir:
      ensure => directory,
      mode   => '0600',
    ;

    "${basedir}/run":
      ensure  => present,
      content => epp("s6/${basedir}/run.epp"),
      mode    => '0700',
    ;
  }
}