diff options
author | Hendrik Jäger <gitcommit@henk.geekmail.org> | 2022-04-27 23:21:11 +0200 |
---|---|---|
committer | Hendrik Jäger <gitcommit@henk.geekmail.org> | 2022-05-22 20:04:54 +0200 |
commit | c4bc0fecb2a92d8b713cac93cae7141b4b56a542 (patch) | |
tree | 720f984dd237309bf03f511a02a65e5d285041b4 /manifests | |
parent | 209272713d3e8e5adf0dd6e722e9cd0827a70aa1 (diff) |
buster gets the wrapper script from the module, not the package
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'], ; |