Parent Directory | Revision Log
- install the module that we use in practice
1 | class epoll { |
2 | |
3 | include apache::mod_fastcgi |
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.30 |