summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorAntoine Beaupré <anarcat@koumbit.org>2015-06-18 16:06:24 -0400
committerAntoine Beaupré <anarcat@koumbit.org>2015-06-18 17:14:59 -0400
commit7a18ca3c8f12bcf1933ee72b5bcbc4ef0f1a4251 (patch)
treefc4079ed58147e888647186772c8bdb0407786be /manifests
parentbaf0a425d25294f2d218419cfd8e77be56168a95 (diff)
rewrite autossh startup script with dh_make template
Diffstat (limited to 'manifests')
-rw-r--r--manifests/autossh.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/autossh.pp b/manifests/autossh.pp
index e94d65b..590f28b 100644
--- a/manifests/autossh.pp
+++ b/manifests/autossh.pp
@@ -21,7 +21,7 @@ class sshd::autossh($host,
source => 'puppet:///modules/sshd/autossh.init.d';
'/etc/default/autossh':
mode => '0444',
- content => "DAEMON_OPTS='-o ServerAliveInterval=15 -o ServerAliveCountMax=4 -q -N -R $port_ensure:localhost:22 $user_ensure@$host'\n";
+ content => "DAEMON_ARGS='-o ServerAliveInterval=15 -o ServerAliveCountMax=4 -q -N -R $port_ensure:localhost:22 $remote_user_ensure@$host'\n";
}
package { 'autossh':
ensure => present,