summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/autossh.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/autossh.pp b/manifests/autossh.pp
index 1ded7eb..5650584 100644
--- a/manifests/autossh.pp
+++ b/manifests/autossh.pp
@@ -23,7 +23,7 @@ class sshd::autossh($host,
source => 'puppet:///modules/sshd/autossh.init.d';
'/etc/default/autossh':
mode => '0444',
- content => "USER=$user\nPIDFILE=$pidfile\nDAEMON_ARGS='-f -o ServerAliveInterval=15 -o ServerAliveCountMax=4 -q -N -R $port_ensure:localhost:22 $remote_user_ensure@$host'\n";
+ content => "USER=$user\nPIDFILE=$pidfile\nDAEMON_ARGS='-M0 -f -o ServerAliveInterval=15 -o ServerAliveCountMax=4 -q -N -R $port_ensure:localhost:22 $remote_user_ensure@$host'\n";
}
package { 'autossh':
ensure => present,