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

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

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