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

Delta Between Two Patch Sets: modules/filterserver/manifests/init.pp

Issue 29469603: #1634 - Update file resource syntax in module filterserver (Closed)
Left Patch Set: Created June 20, 2017, 4:54 p.m.
Right Patch Set: Change of semicolon for colon in order to preserve consistency Created June 21, 2017, 9:55 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « no previous file | no next file » | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 class filterserver($is_default = false) { 1 class filterserver($is_default = false) {
2 if !defined(Class['nginx']) { 2 if !defined(Class['nginx']) {
3 class {'nginx': 3 class {'nginx':
4 worker_connections => 4000, 4 worker_connections => 4000,
5 ssl_session_cache => off, 5 ssl_session_cache => off,
6 } 6 }
7 } 7 }
8 8
9 if !defined(File['/var/www']) { 9 if !defined(File['/var/www']) {
10 file {'/var/www': 10 file {'/var/www':
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 log => 'access_log_easylist_downloads', 46 log => 'access_log_easylist_downloads',
47 global_config => join([ 47 global_config => join([
48 'proxy_cache_path /var/cache/nginx/proxy levels=1 keys_zone=filters:1m;', 48 'proxy_cache_path /var/cache/nginx/proxy levels=1 keys_zone=filters:1m;',
49 ], "\n"), 49 ], "\n"),
50 } 50 }
51 51
52 file {'/home/rsync/.ssh': 52 file {'/home/rsync/.ssh':
53 ensure => directory, 53 ensure => directory,
54 require => User['rsync'], 54 require => User['rsync'],
55 owner => rsync, 55 owner => rsync,
56 mode => '0600'; 56 mode => '0600',
57 } 57 }
58 58
59 concat {'/home/rsync/.ssh/known_hosts': 59 concat {'/home/rsync/.ssh/known_hosts':
60 owner => rsync, 60 owner => rsync,
61 mode => '0444', 61 mode => '0444',
62 } 62 }
63 63
64 concat::fragment {'filtermaster_hostname': 64 concat::fragment {'filtermaster_hostname':
65 target => '/home/rsync/.ssh/known_hosts', 65 target => '/home/rsync/.ssh/known_hosts',
66 content => 'filtermaster.adblockplus.org ', 66 content => 'filtermaster.adblockplus.org ',
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 File['/home/rsync/.ssh/id_rsa'], 102 File['/home/rsync/.ssh/id_rsa'],
103 User['rsync'] 103 User['rsync']
104 ], 104 ],
105 command => 'rsync -e "ssh -o CheckHostIP=no" -ltprz --delete rsync@filtermas ter.adblockplus.org:. /var/www/easylist/', 105 command => 'rsync -e "ssh -o CheckHostIP=no" -ltprz --delete rsync@filtermas ter.adblockplus.org:. /var/www/easylist/',
106 environment => hiera('cron::environment', []), 106 environment => hiera('cron::environment', []),
107 user => rsync, 107 user => rsync,
108 hour => '*', 108 hour => '*',
109 minute => '2-52/10' 109 minute => '2-52/10'
110 } 110 }
111 } 111 }
LEFTRIGHT
« no previous file | no next file » | Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Toggle Comments ('s')

Powered by Google App Engine
This is Rietveld