blob: 684d4a743f4e2f9259aa3ff8886c241cc3f1f54c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
define catdap::snapshot($location, $git_location, $git_branch = 'master') {
file { "$location/catdap_local.yml":
group => apache,
mode => '0640',
content => template('catdap/catdap_local.yml'),
require => Git::Snapshot[$location],
}
git::snapshot { $location:
source => $git_location,
branch => $git_branch,
}
apache::vhost::catalyst_app { $name:
script => "$location/script/catdap_fastcgi.pl",
location => $location,
use_ssl => true,
}
apache::vhost::redirect_ssl { $name: }
}
|