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

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

Issue 29469624: #1634 - Update file resource syntax in module notificationserver (Closed)
Patch Set: Created June 20, 2017, 5:03 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 notificationserver($is_default = false) { 1 class notificationserver($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 class {'sitescripts': 9 class {'sitescripts':
10 sitescriptsini_source => 'puppet:///modules/notificationserver/sitescripts.i ni' 10 sitescriptsini_source => 'puppet:///modules/notificationserver/sitescripts.i ni'
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 ] 44 ]
45 } 45 }
46 46
47 customservice::supervisor {'spawn-fcgi': 47 customservice::supervisor {'spawn-fcgi':
48 pidfile => '/var/run/500-multiplexer_spawn-fcgi.pid', 48 pidfile => '/var/run/500-multiplexer_spawn-fcgi.pid',
49 } 49 }
50 50
51 File { 51 File {
52 owner => root, 52 owner => root,
53 group => root, 53 group => root,
54 mode => 0644, 54 mode => '0644',
55 } 55 }
56 56
57 nginx::hostconfig{'notification.adblockplus.org': 57 nginx::hostconfig{'notification.adblockplus.org':
58 source => 'puppet:///modules/notificationserver/site.conf', 58 source => 'puppet:///modules/notificationserver/site.conf',
59 global_config => template('notificationserver/global.conf.erb'), 59 global_config => template('notificationserver/global.conf.erb'),
60 is_default => $is_default, 60 is_default => $is_default,
61 certificate => 'easylist-downloads.adblockplus.org_sslcert.pem', 61 certificate => 'easylist-downloads.adblockplus.org_sslcert.pem',
62 private_key => 'easylist-downloads.adblockplus.org_sslcert.key', 62 private_key => 'easylist-downloads.adblockplus.org_sslcert.key',
63 log => 'access_log_notification', 63 log => 'access_log_notification',
64 log_format => 'notification', 64 log_format => 'notification',
65 } 65 }
66 } 66 }
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