15 |
apache::vhost_redirect_ssl { $vhost: } |
apache::vhost_redirect_ssl { $vhost: } |
16 |
|
|
17 |
$password = extlookup("epoll_password",'x') |
$password = extlookup("epoll_password",'x') |
18 |
|
|
19 |
|
@@postgresql::user { 'epoll': |
20 |
|
password => $password, |
21 |
|
} |
22 |
|
|
23 |
|
|
24 |
file { "epoll.yml": |
file { "epoll.yml": |
25 |
path => "/etc/epoll.yml", |
path => "/etc/epoll.yml", |
29 |
mode => 640, |
mode => 640, |
30 |
content => template("epoll/epoll.yml") |
content => template("epoll/epoll.yml") |
31 |
} |
} |
32 |
|
|
33 |
|
@@postgresql::database { 'epoll': |
34 |
|
description => "Epoll database", |
35 |
|
user => "epoll", |
36 |
|
require => Postgresql::User['epoll'] |
37 |
|
} |
38 |
|
|
39 |
} |
} |