blob: 9aa0ed58b2a0bf5b98611128632c7e865f6e5de6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
class mga-mirrors {
include apache::mod_fcgid
package { 'mga-mirrors':
ensure => installed
}
# add a apache vhost
file { "mirrors.$domain.conf":
path => "/etc/httpd/conf/vhosts.d/$name",
ensure => "present",
owner => root,
group => root,
mode => 644,
notify => Service['apache'],
content => template("mga-mirrors/mirrors_vhost.conf")
}
}
|