blob: 55a7e5965d39ae28b0509a158d7998111a67ad45 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
class websites::static {
include websites::base
$vhostdir = "$websites::base::webdatadir/static.${::domain}"
apache::vhost::other_app { "static.${::domain}":
vhost_file => 'websites/vhost_static.conf',
}
file { $vhostdir:
ensure => directory,
}
git::snapshot { "${vhostdir}":
source => "git://git.${::domain}/web/www",
}
}
|