summaryrefslogtreecommitdiff
path: root/manifests/install.pp
diff options
context:
space:
mode:
authorHendrik Jäger <gitcommit@henk.geekmail.org>2022-04-27 23:21:11 +0200
committerHendrik Jäger <gitcommit@henk.geekmail.org>2022-05-22 20:04:54 +0200
commitc4bc0fecb2a92d8b713cac93cae7141b4b56a542 (patch)
tree720f984dd237309bf03f511a02a65e5d285041b4 /manifests/install.pp
parent209272713d3e8e5adf0dd6e722e9cd0827a70aa1 (diff)
buster gets the wrapper script from the module, not the package
Diffstat (limited to 'manifests/install.pp')
-rw-r--r--manifests/install.pp5
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'],
;