| OLD | NEW | 
|---|
| 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_processes => 2, | 4       worker_processes => 2, | 
| 5       worker_connections => 4000, | 5       worker_connections => 4000, | 
| 6       ssl_session_cache => off, | 6       ssl_session_cache => off, | 
| 7     } | 7     } | 
| 8   } | 8   } | 
| 9 | 9 | 
| 10   if !defined(File['/var/www']) { | 10   if !defined(File['/var/www']) { | 
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 51 | 51 | 
| 52   File { | 52   File { | 
| 53     owner => root, | 53     owner => root, | 
| 54     group => root, | 54     group => root, | 
| 55     mode => 0644, | 55     mode => 0644, | 
| 56   } | 56   } | 
| 57 | 57 | 
| 58   nginx::hostconfig{'notification.adblockplus.org': | 58   nginx::hostconfig{'notification.adblockplus.org': | 
| 59     source => 'puppet:///modules/notificationserver/site.conf', | 59     source => 'puppet:///modules/notificationserver/site.conf', | 
| 60     is_default => $is_default, | 60     is_default => $is_default, | 
| 61     certificate => 'adblockplus.org_sslcert.pem', | 61     certificate => 'easylist-downloads.adblockplus.org_sslcert.pem', | 
| 62     private_key => 'adblockplus.org_sslcert.key', | 62     private_key => 'easylist-downloads.adblockplus.org_sslcert.key', | 
| 63     log => 'access_log_notification' | 63     log => 'access_log_notification' | 
| 64   } | 64   } | 
| 65 } | 65 } | 
| OLD | NEW | 
|---|