blob: c9e0bcb65281d62efba9fa05271c4c3a341bc1c6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
class apache {
define vhost_simple($location) {
include apache::base
apache::vhost::base { $name:
location => $location,
}
}
define vhost_redirect($url,
$vhost = false,
$use_ssl = false) {
include apache::base
apache::vhost::base { $name:
use_ssl => $use_ssl,
vhost => $vhost,
content => template("apache/vhost_redirect.conf"),
}
}
}
|