diff options
Diffstat (limited to 'manifests/install.pp')
-rw-r--r-- | manifests/install.pp | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/manifests/install.pp b/manifests/install.pp new file mode 100644 index 0000000..de016ee --- /dev/null +++ b/manifests/install.pp @@ -0,0 +1,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, + ; + } +} |