From fdf4cc2bd19a7b4c0ec6b181e7fbbdab9b83c577 Mon Sep 17 00:00:00 2001 From: Jerome Charaoui Date: Thu, 10 Mar 2011 13:57:46 -0500 Subject: Adjust initscript detection command for new dependency-based boot sequencing. --- manifests/tunnel.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}"]], } -- cgit v1.2.3