diff options
author | Jerome <jerome@perlo.lib3.net> | 2009-12-25 04:11:25 -0500 |
---|---|---|
committer | Jerome <jerome@perlo.lib3.net> | 2009-12-25 04:11:25 -0500 |
commit | 0321a3210ef6bb42ef8b536d0964bef081294d1d (patch) | |
tree | 1f66c99526ffa1bebe96f8279539511b2f96d228 /manifests/init.pp | |
parent | 9d0fd33d5a30f385b6a1b84665858c063e11a8e7 (diff) | |
download | puppet-autossh-0321a3210ef6bb42ef8b536d0964bef081294d1d.tar.gz puppet-autossh-0321a3210ef6bb42ef8b536d0964bef081294d1d.tar.bz2 |
Define autossh::tunnel resource and improve initscript
Diffstat (limited to 'manifests/init.pp')
-rw-r--r-- | manifests/init.pp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index 6915a44..0fb316a 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -2,20 +2,4 @@ class autossh { package { "autossh": ensure => installed, } - - file { - "/etc/init.d/tunnel-autossh": - owner => root, - group => root, - mode => 755, - require => Package["autossh"], - content => template("autossh/tunnel-autossh.erb"); - } - - exec { "autossh_update_rcd": - command => "update-rc.d tunnel-autossh start 18 2 3 4 5 . stop 81 0 1 6 .", - creates => "/etc/rc2.d/S18tunnel-autossh", - path => "/bin:/sbin:/usr/sbin:/usr/bin", - require => [ Package["autossh"], File["/etc/init.d/tunnel-autossh"]], - } } |