/[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 2458 - (show annotations) (download)
Mon Feb 20 18:34:19 2012 UTC (12 years, 1 month ago) by misc
File size: 632 byte(s)
clean epoll module, using puppet-lint and common value
1 class epoll {
2
3 $vhost = "epoll.$::domain"
4
5 package { 'Epoll': }
6
7 apache::vhost_catalyst_app { $vhost:
8 script => '/usr/bin/epoll_fastcgi.pl',
9 use_ssl => true,
10 require => Package['Epoll']
11 }
12
13 apache::vhost_redirect_ssl { $vhost: }
14
15 $pgsql_password = extlookup('epoll_pgsql','x')
16
17 postgresql::remote_db_and_user { 'epoll':
18 description => 'Epoll database',
19 password => $pgsql_password,
20 }
21
22 file { 'epoll.yml':
23 path => '/etc/epoll.yml',
24 group => 'apache',
25 mode => '0640',
26 content => template('epoll/epoll.yml')
27 }
28 }

  ViewVC Help
Powered by ViewVC 1.1.30