| 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_connections => 4000, | 8 worker_connections => 4000, |
| 9 ssl_session_cache => off, | 9 ssl_session_cache => off, |
| 10 } | 10 } |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 | 90 |
| 91 fetch_repository {$repositories_to_sync: } | 91 fetch_repository {$repositories_to_sync: } |
| 92 | 92 |
| 93 $update_update_manifests_script = '/usr/local/bin/update_update_manifests' | 93 $update_update_manifests_script = '/usr/local/bin/update_update_manifests' |
| 94 | 94 |
| 95 file {$update_update_manifests_script: | 95 file {$update_update_manifests_script: |
| 96 mode => '0755', | 96 mode => '0755', |
| 97 content => template('updateserver/update_update_manifests.erb') | 97 content => template('updateserver/update_update_manifests.erb') |
| 98 } | 98 } |
| 99 | 99 |
| 100 $update_update_manifests_dependencies = ['python-m2crypto', 'python-jinja2'] | 100 $update_update_manifests_dependencies = ['python-crypto', 'python-jinja2'] |
| 101 | 101 |
| 102 package {$update_update_manifests_dependencies:} | 102 package {$update_update_manifests_dependencies:} |
| 103 | 103 |
| 104 exec {'update_update_manifests': | 104 exec {'update_update_manifests': |
| 105 command => $update_update_manifests_script, | 105 command => $update_update_manifests_script, |
| 106 user => 'sitescripts', | 106 user => 'sitescripts', |
| 107 timeout => 0, | 107 timeout => 0, |
| 108 require => [Class['sitescripts'], | 108 require => [Class['sitescripts'], |
| 109 Fetch_repository[$repositories_to_sync], | 109 Fetch_repository[$repositories_to_sync], |
| 110 File[$update_update_manifests_script], | 110 File[$update_update_manifests_script], |
| (...skipping 19 matching lines...) Expand all Loading... |
| 130 socket => '/tmp/multiplexer-fastcgi.sock', | 130 socket => '/tmp/multiplexer-fastcgi.sock', |
| 131 mode => '0666', | 131 mode => '0666', |
| 132 user => 'nginx', | 132 user => 'nginx', |
| 133 children => 1, | 133 children => 1, |
| 134 require => [ | 134 require => [ |
| 135 Class["sitescripts"], | 135 Class["sitescripts"], |
| 136 Package["python-flup"], | 136 Package["python-flup"], |
| 137 ], | 137 ], |
| 138 } | 138 } |
| 139 } | 139 } |
| OLD | NEW |