aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJerome Charaoui <jcharaoui@cmaisonneuve.qc.ca>2011-03-10 13:57:46 -0500
committerJerome Charaoui <jcharaoui@cmaisonneuve.qc.ca>2011-03-10 13:57:46 -0500
commitfdf4cc2bd19a7b4c0ec6b181e7fbbdab9b83c577 (patch)
treefc4dcadecbc2630d41df1d59d33a3fcee7372fc8
parentfcad3473dd09ae8a42b5095001d721da1dd24f1a (diff)
downloadpuppet-autossh-fdf4cc2bd19a7b4c0ec6b181e7fbbdab9b83c577.tar.gz
puppet-autossh-fdf4cc2bd19a7b4c0ec6b181e7fbbdab9b83c577.tar.bz2
Adjust initscript detection command for new dependency-based boot sequencing.
-rw-r--r--manifests/tunnel.pp2
1 files changed, 1 insertions, 1 deletions
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}"]],
}