From: Jerome Charaoui Date: Thu, 10 Mar 2011 18:57:46 +0000 (-0500) Subject: Adjust initscript detection command for new dependency-based boot sequencing. X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=fdf4cc2bd19a7b4c0ec6b181e7fbbdab9b83c577;p=puppet-autossh.git Adjust initscript detection command for new dependency-based boot sequencing. --- diff --git a/manifests/tunnel.pp b/manifests/tunnel.pp index b4e7bdf..babce99 100644 --- a/manifests/tunnel.pp +++ b/manifests/tunnel.pp @@ -47,7 +47,7 @@ define autossh::tunnel ( exec { "autossh-tunnel-${name}_update_rcd": command => "update-rc.d autossh-tunnel-${name} start 18 2 3 4 5 . stop 81 0 1 6 .", - creates => "/etc/rc2.d/S18autossh-tunnel-${name}", + unless => "test -e /etc/rc2.d/S??autossh-tunnel-${name}", path => "/bin:/sbin:/usr/sbin:/usr/bin", require => [ Package["autossh"], File["/etc/init.d/autossh-tunnel-${name}"]], }