/[adm]/puppet/modules/catdap/manifests/snapshot.pp
ViewVC logotype

Contents of /puppet/modules/catdap/manifests/snapshot.pp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3426 - (show annotations) (download)
Sun Mar 23 16:20:53 2014 UTC (10 years ago) by colin
File size: 585 byte(s)
Switch identity.mageia.org (aka CatDap) to git
1 define catdap::snapshot($location, $git_location, $git_branch) {
2 file { "$location/catdap_local.yml":
3 group => apache,
4 mode => '0640',
5 content => template('catdap/catdap_local.yml'),
6 require => Subversion::Snapshot[$location],
7 }
8
9 git::snapshot { $location:
10 source => $git_location,
11 branch => $git_branch,
12 }
13
14 apache::vhost::catalyst_app { $name:
15 script => "$location/script/catdap_fastcgi.pl",
16 location => $location,
17 use_ssl => true,
18 }
19
20 apache::vhost::redirect_ssl { $name: }
21 }

  ViewVC Help
Powered by ViewVC 1.1.30