35 |
require => Subversion::Snapshot[$catdap_location] |
require => Subversion::Snapshot[$catdap_location] |
36 |
} |
} |
37 |
|
|
38 |
|
apache::vhost_catalyst_app { $catdap_vhost: |
39 |
|
location => $catdap_location, |
40 |
|
use_ssl => true, |
41 |
|
} |
42 |
|
|
43 |
|
apache::vhost_redirect_ssl { $catdap_vhost: } |
44 |
|
|
45 |
# add a apache vhost |
# add a apache vhost |
46 |
file { "$catdap_vhost.conf": |
# file { "$catdap_vhost.conf": |
47 |
path => "/etc/httpd/conf/vhosts.d/$catdap_vhost.conf", |
# path => "/etc/httpd/conf/vhosts.d/$catdap_vhost.conf", |
48 |
ensure => "present", |
# ensure => "present", |
49 |
owner => root, |
# owner => root, |
50 |
group => root, |
# group => root, |
51 |
mode => 644, |
# mode => 644, |
52 |
notify => Service['apache'], |
# notify => Service['apache'], |
53 |
content => template("catdap/catdap_vhost.conf") |
# content => template("catdap/catdap_vhost.conf") |
54 |
} |
# } |
55 |
} |
} |