/[adm]/puppet/modules/epoll/manifests/init.pp
ViewVC logotype

Contents of /puppet/modules/epoll/manifests/init.pp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 455 - (show annotations) (download)
Wed Nov 24 15:22:14 2010 UTC (13 years, 4 months ago) by misc
File size: 510 byte(s)
add requires on the package, so puppet doesn't send useless errors
1 class epoll {
2
3 $vhost = "epoll.$domain"
4
5 package { 'Epoll':
6 ensure => installed
7 }
8
9 apache::vhost_catalyst_app { $vhost:
10 script => "/usr/bin/epoll_fastcgi.pl",
11 require => Package['Epoll']
12 }
13
14 $password = extlookup("epoll_password",'x')
15
16 file { "epoll.yml":
17 path => "/etc/epoll.yml",
18 ensure => "present",
19 owner => root,
20 group => apache,
21 mode => 640,
22 content => template("epoll/epoll.yml")
23 }
24 }

  ViewVC Help
Powered by ViewVC 1.1.30