aboutsummaryrefslogtreecommitdiffstats
path: root/modules/epoll/manifests/init.pp
blob: fb86f23a71a30e955d911cd6832375a43a3814c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
class epoll {
    include epoll::var

    package { 'Epoll': }

    apache::vhost::catalyst_app { $epoll::var::vhost:
        script  => '/usr/bin/epoll_fastcgi.pl',
        use_ssl => true,
        require => Package['Epoll']
    }

    apache::vhost::redirect_ssl { $epoll::var::vhost: }

    file { 'epoll.yml':
        path    => '/etc/epoll.yml',
        group   => 'apache',
        mode    => '0640',
        content => template('epoll/epoll.yml')
    }
}