| OLD | NEW | 
|---|
| 1 class updateserver( | 1 class updateserver( | 
| 2     $domain, | 2     $domain, | 
| 3     $certificate, | 3     $certificate, | 
| 4     $private_key, | 4     $private_key, | 
| 5     $is_default=false | 5     $is_default=false | 
| 6   ) { | 6   ) { | 
| 7   class {'nginx': | 7   class {'nginx': | 
| 8     worker_processes => 2, | 8     worker_processes => 2, | 
| 9     worker_connections => 4000, | 9     worker_connections => 4000, | 
| 10     ssl_session_cache => off, | 10     ssl_session_cache => off, | 
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 114   } | 114   } | 
| 115 | 115 | 
| 116   cron {'update_update_manifests': | 116   cron {'update_update_manifests': | 
| 117     ensure => present, | 117     ensure => present, | 
| 118     environment => ['MAILTO=admins@adblockplus.org'], | 118     environment => ['MAILTO=admins@adblockplus.org'], | 
| 119     command => $update_update_manifests_script, | 119     command => $update_update_manifests_script, | 
| 120     user => 'sitescripts', | 120     user => 'sitescripts', | 
| 121     minute => '*/10', | 121     minute => '*/10', | 
| 122     require => Exec['update_update_manifests'] | 122     require => Exec['update_update_manifests'] | 
| 123   } | 123   } | 
|  | 124 | 
|  | 125   include spawn-fcgi | 
|  | 126   package {['python-flup', 'python-mysqldb']:} | 
|  | 127 | 
|  | 128   spawn-fcgi::pool {"multiplexer": | 
|  | 129     ensure => present, | 
|  | 130     fcgi_app => '/opt/sitescripts/multiplexer.fcgi', | 
|  | 131     socket => '/tmp/multiplexer-fastcgi.sock', | 
|  | 132     mode => '0666', | 
|  | 133     user => 'nginx', | 
|  | 134     children => 1, | 
|  | 135     require => [ | 
|  | 136       Exec["fetch_sitescripts"], | 
|  | 137       Package["python-flup"], | 
|  | 138       Package["python-mysqldb"], | 
|  | 139     ], | 
|  | 140   } | 
| 124 } | 141 } | 
| OLD | NEW | 
|---|