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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 118 - (hide annotations) (download)
Fri Nov 5 00:22:23 2010 UTC (13 years, 5 months ago) by nanardon
File size: 684 byte(s)
- add epoll config
1 nanardon 118 class epoll {
2    
3     include apache::mod_fcgid
4    
5     package { 'Epoll':
6     ensure => installed
7     }
8    
9     # add a apache vhost
10     file { "epoll.$domain.conf":
11     path => "/etc/httpd/conf/vhosts.d/$name.$domain.conf",
12     ensure => "present",
13     owner => root,
14     group => root,
15     mode => 644,
16     notify => Service['apache'],
17     content => template("epoll/epoll_vhost.conf")
18     }
19    
20     $password = extlookup("epoll_password")
21    
22     file { "epoll.yml":
23     path => "/etc/epoll.yml",
24     ensure => "present",
25     owner => apache,
26     group => apache,
27     mode => 600,
28     content => template("epoll/epoll.yml")
29     }
30     }

  ViewVC Help
Powered by ViewVC 1.1.30