Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: modules/ssh/manifests/init.pp

Issue 29470674: Use Puppet 2&3 compatible syntax in SSH resource relationships (Closed)
Patch Set: Created June 21, 2017, 2:09 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld