/[adm]/puppet/modules/mga-mirrors/manifests/init.pp
ViewVC logotype

Contents of /puppet/modules/mga-mirrors/manifests/init.pp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 168 - (show annotations) (download)
Fri Nov 5 23:41:36 2010 UTC (13 years, 5 months ago) by misc
File size: 513 byte(s)
- refactor catalyst application config using a common class ( catdap is next )

1 class mga-mirrors {
2
3 $vhost = "mirrors.$domain"
4
5 package { 'mga-mirrors':
6 ensure => installed
7 }
8
9 apache::vhost_catalyst_app { $vhost:
10 script => /usr/bin/mga_mirrors_fastcgi.pl
11 }
12
13 $password = extlookup("mga_mirror_password")
14
15 file { "mga-mirrors.ini":
16 path => "/etc/mga-mirrors.ini",
17 ensure => "present",
18 owner => apache,
19 group => apache,
20 mode => 600,
21 content => template("mga-mirrors/mga-mirrors.ini")
22 }
23 }

  ViewVC Help
Powered by ViewVC 1.1.30