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

    $vhost = "epoll.$domain"

    package { 'Epoll':
        ensure => installed
    }
    
    apache::vhost_catalyst_app { $vhost:
        script => /usr/bin/epoll_fastcgi.pl 
    }
     
    $password = extlookup("epoll_password")
 
    file { "epoll.yml": 
        path => "/etc/epoll.yml",    
        ensure => "present",
        owner => apache,
        group => apache,
        mode => 600,
        content => template("epoll/epoll.yml")
    }
}