/[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 1281 - (show annotations) (download)
Tue Mar 8 11:54:36 2011 UTC (13 years, 1 month ago) by misc
File size: 784 byte(s)
- use the new type for remote database declaration
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 use_ssl => true,
12 require => Package['Epoll']
13 }
14
15 apache::vhost_redirect_ssl { $vhost: }
16
17 $pgsql_password = extlookup("epoll_pgsql",'x')
18
19 postgresql::remote_user { 'epoll':
20 password => $pgsql_password,
21 }
22
23
24 file { "epoll.yml":
25 path => "/etc/epoll.yml",
26 ensure => "present",
27 owner => root,
28 group => apache,
29 mode => 640,
30 content => template("epoll/epoll.yml")
31 }
32
33 postgresql::remote_database { 'epoll':
34 description => "Epoll database",
35 user => "epoll",
36 }
37
38 }

  ViewVC Help
Powered by ViewVC 1.1.30