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