aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-06-06 22:03:56 -0300
committerSilvio Rhatto <rhatto@riseup.net>2011-06-06 22:03:56 -0300
commitda4b84b3b290d36c143edad1820793352f4ea769 (patch)
tree6ca6b624ae06a0a12c2a9301b201b1b1d1a23fa0
parentcae6404e88cf20820cbaeb010d39b3905ee2aaf9 (diff)
parentfdf4cc2bd19a7b4c0ec6b181e7fbbdab9b83c577 (diff)
downloadpuppet-autossh-da4b84b3b290d36c143edad1820793352f4ea769.tar.gz
puppet-autossh-da4b84b3b290d36c143edad1820793352f4ea769.tar.bz2
Merge branch 'master' of git://git.cmaisonneuve.qc.ca/puppet/module-autossh
-rw-r--r--manifests/tunnel.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/tunnel.pp b/manifests/tunnel.pp
index b10ae5a..bbf86e9 100644
--- a/manifests/tunnel.pp
+++ b/manifests/tunnel.pp
@@ -48,7 +48,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}"]],
}