OLD | NEW |
1 class ssh( | 1 class ssh( |
2 $agent_forwarding = hiera('ssh::agent_forwarding', false), | 2 $agent_forwarding = hiera('ssh::agent_forwarding', false), |
3 $tcp_forwarding = hiera('ssh::tcp_forwarding', false), | 3 $tcp_forwarding = hiera('ssh::tcp_forwarding', false), |
4 ) { | 4 ) { |
5 | 5 |
6 ensure_packages([ | 6 ensure_packages([ |
7 'openssh-client', | 7 'openssh-client', |
8 'openssh-server', | 8 'openssh-server', |
9 ]) | 9 ]) |
10 | 10 |
(...skipping 25 matching lines...) Expand all Loading... |
36 } | 36 } |
37 | 37 |
38 service {'ssh': | 38 service {'ssh': |
39 ensure => running, | 39 ensure => running, |
40 enable => true, | 40 enable => true, |
41 hasstatus => true, | 41 hasstatus => true, |
42 hasrestart => true, | 42 hasrestart => true, |
43 subscribe => Concat['sshd_config'] | 43 subscribe => Concat['sshd_config'] |
44 } | 44 } |
45 | 45 |
46 Service['ssh'] <~ Package['libssl1.0.0', 'openssl'] | 46 Service['ssh'] <~ Package['libssl1.0.0'] |
| 47 Service['ssh'] <~ Package['openssl'] |
47 } | 48 } |
OLD | NEW |