/[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 2691 - (show annotations) (download)
Sun Mar 25 12:47:26 2012 UTC (9 years, 4 months ago) by misc
File size: 633 byte(s)
fix vhost invocation on several module, was missed by last commit, and add the one for redirect_ssl
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.28