| OLD | NEW |
| 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 ) inherits nginx::params { | 5 ) inherits nginx::params { |
| 5 | 6 |
| 6 package {'nginx': | 7 package {'nginx': |
| 7 ensure => present | 8 ensure => present |
| 8 } | 9 } |
| 9 | 10 |
| 10 File { | 11 File { |
| 11 owner => root, | 12 owner => root, |
| 12 group => root, | 13 group => root, |
| 13 mode => 0644, | 14 mode => 0644, |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 } | 52 } |
| 52 | 53 |
| 53 service {'nginx': | 54 service {'nginx': |
| 54 ensure => running, | 55 ensure => running, |
| 55 enable => true, | 56 enable => true, |
| 56 restart => '/etc/init.d/nginx reload', | 57 restart => '/etc/init.d/nginx reload', |
| 57 hasstatus => true, | 58 hasstatus => true, |
| 58 require => File['/etc/nginx/nginx.conf'] | 59 require => File['/etc/nginx/nginx.conf'] |
| 59 } | 60 } |
| 60 } | 61 } |
| OLD | NEW |