1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
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', ; } $s6::scandir_users.each | $entry | { s6::user_scandir { $entry: ; } } }