/[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 121 - (show annotations) (download)
Fri Nov 5 00:58:36 2010 UTC (10 years, 11 months ago) by misc
File size: 699 byte(s)
- refactor the domain name

1 class epoll {
2
3 include apache::mod_fcgid
4
5 $vhost = "epoll.$domain"
6 package { 'Epoll':
7 ensure => installed
8 }
9
10 # add a apache vhost
11 file { "$vhost.conf":
12 path => "/etc/httpd/conf/vhosts.d/$vhost.conf",
13 ensure => "present",
14 owner => root,
15 group => root,
16 mode => 644,
17 notify => Service['apache'],
18 content => template("epoll/epoll_vhost.conf")
19 }
20
21 $password = extlookup("epoll_password")
22
23 file { "epoll.yml":
24 path => "/etc/epoll.yml",
25 ensure => "present",
26 owner => apache,
27 group => apache,
28 mode => 600,
29 content => template("epoll/epoll.yml")
30 }
31 }

  ViewVC Help
Powered by ViewVC 1.1.28