diff options
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/install.pp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/manifests/install.pp b/manifests/install.pp index f266276..2042f8a 100644 --- a/manifests/install.pp +++ b/manifests/install.pp @@ -7,7 +7,10 @@ class s6::install { file { '/usr/local/bin/s6-svscanboot': ensure => present, - source => 'puppet:///modules/s6/usr/local/bin/s6-svscanboot', + source => [ + "puppet:///modules/s6/usr/local/bin/s6-svscanboot.${facts['os']['distro']['codename']}", + 'puppet:///modules/s6/usr/local/bin/s6-svscanboot', + ], mode => '0755', require => Package['s6'], ; |