Parent Directory | Revision Log
- use ssl for epoll ( for security reason )
1 | nanardon | 118 | class epoll { |
2 | |||
3 | misc | 168 | $vhost = "epoll.$domain" |
4 | nanardon | 118 | |
5 | package { 'Epoll': | ||
6 | ensure => installed | ||
7 | } | ||
8 | misc | 168 | |
9 | apache::vhost_catalyst_app { $vhost: | ||
10 | misc | 455 | script => "/usr/bin/epoll_fastcgi.pl", |
11 | misc | 482 | use_ssl => true, |
12 | misc | 455 | require => Package['Epoll'] |
13 | nanardon | 118 | } |
14 | misc | 482 | |
15 | apache::vhost_redirect_ssl { $vhost: } | ||
16 | misc | 168 | |
17 | misc | 378 | $password = extlookup("epoll_password",'x') |
18 | nanardon | 118 | |
19 | file { "epoll.yml": | ||
20 | path => "/etc/epoll.yml", | ||
21 | ensure => "present", | ||
22 | misc | 340 | owner => root, |
23 | nanardon | 118 | group => apache, |
24 | misc | 340 | mode => 640, |
25 | nanardon | 118 | content => template("epoll/epoll.yml") |
26 | } | ||
27 | } |
ViewVC Help | |
Powered by ViewVC 1.1.30 |