Parent Directory | Revision Log
add requires on the package, so puppet doesn't send useless errors
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 | require => Package['Epoll'] | ||
12 | nanardon | 118 | } |
13 | misc | 168 | |
14 | misc | 378 | $password = extlookup("epoll_password",'x') |
15 | nanardon | 118 | |
16 | file { "epoll.yml": | ||
17 | path => "/etc/epoll.yml", | ||
18 | ensure => "present", | ||
19 | misc | 340 | owner => root, |
20 | nanardon | 118 | group => apache, |
21 | misc | 340 | mode => 640, |
22 | nanardon | 118 | content => template("epoll/epoll.yml") |
23 | } | ||
24 | } |
ViewVC Help | |
Powered by ViewVC 1.1.30 |