| LEFT | RIGHT |
| 1 class nginx ( | 1 class nginx ( |
| 2 $worker_processes = $nginx::params::worker_processes, | 2 $worker_processes = $nginx::params::worker_processes, |
| 3 $worker_connections = $nginx::params::worker_connections, | 3 $worker_connections = $nginx::params::worker_connections, |
| 4 $ssl_session_cache = $nginx::params::ssl_session_cache, | 4 $ssl_session_cache = $nginx::params::ssl_session_cache, |
| 5 $geoip_country = undef, | 5 $geoip_country = undef, |
| 6 $geoip_city = undef, | 6 $geoip_city = undef, |
| 7 ) inherits nginx::params { | 7 ) inherits nginx::params { |
| 8 | 8 |
| 9 apt::ppa {'ppa:nginx/stable': | 9 apt::ppa {'ppa:nginx/stable': |
| 10 } | 10 } |
| (...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 181 } | 181 } |
| 182 | 182 |
| 183 service {'nginx': | 183 service {'nginx': |
| 184 ensure => running, | 184 ensure => running, |
| 185 enable => true, | 185 enable => true, |
| 186 restart => '/etc/init.d/nginx reload', | 186 restart => '/etc/init.d/nginx reload', |
| 187 hasstatus => true, | 187 hasstatus => true, |
| 188 require => File['/etc/nginx/nginx.conf'] | 188 require => File['/etc/nginx/nginx.conf'] |
| 189 } | 189 } |
| 190 } | 190 } |
| LEFT | RIGHT |