1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
class s6::install {
package {
's6':
ensure => installed,
;
}
file {
'/usr/local/bin/s6-svscanboot':
ensure => present,
source => 'puppet:///modules/s6/usr/local/bin/s6-svscanboot',
mode => '0755',
require => Package['s6'],
;
'/etc/init.d/s6':
ensure => present,
source => 'puppet:///modules/s6/etc/init.d/s6',
mode => '0755',
require => Package['s6'],
;
'/etc/s6-services/':
ensure => directory,
;
}
user {
's6-logs':
ensure => present,
home => '/nonexistant',
shell => '/usr/sbin/nologin',
system => true,
;
}
}
|