diff options
Diffstat (limited to 'modules/catdap/manifests/snapshot.pp')
-rw-r--r-- | modules/catdap/manifests/snapshot.pp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/modules/catdap/manifests/snapshot.pp b/modules/catdap/manifests/snapshot.pp new file mode 100644 index 00000000..4dc7796f --- /dev/null +++ b/modules/catdap/manifests/snapshot.pp @@ -0,0 +1,20 @@ +define catdap::snapshot($location, $svn_location) { + file { "$location/catdap_local.yml": + group => apache, + mode => '0640', + content => template('catdap/catdap_local.yml'), + require => Subversion::Snapshot[$location], + } + + subversion::snapshot { $location: + source => $svn_location + } + + apache::vhost_catalyst_app { $name: + script => "$location/script/catdap_fastcgi.pl", + location => $location, + use_ssl => true, + } + + apache::vhost_redirect_ssl { $name: } +} |