aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/catdap/manifests/init.pp15
-rw-r--r--modules/catdap/templates/catdap_vhost.conf15
2 files changed, 0 insertions, 30 deletions
diff --git a/modules/catdap/manifests/init.pp b/modules/catdap/manifests/init.pp
index 78b1d372..ad97fc29 100644
--- a/modules/catdap/manifests/init.pp
+++ b/modules/catdap/manifests/init.pp
@@ -1,9 +1,5 @@
class catdap {
- include subversion
- include subversion::client
- include apache::mod_fcgid
-
$catdap_location = "/var/www/identity"
$catdap_vhost = "identity.$domain"
@@ -42,15 +38,4 @@ class catdap {
}
apache::vhost_redirect_ssl { $catdap_vhost: }
-
- # add a apache vhost
-# file { "$catdap_vhost.conf":
-# path => "/etc/httpd/conf/vhosts.d/$catdap_vhost.conf",
-# ensure => "present",
-# owner => root,
-# group => root,
-# mode => 644,
-# notify => Service['apache'],
-# content => template("catdap/catdap_vhost.conf")
-# }
}
diff --git a/modules/catdap/templates/catdap_vhost.conf b/modules/catdap/templates/catdap_vhost.conf
deleted file mode 100644
index a6a2f0b9..00000000
--- a/modules/catdap/templates/catdap_vhost.conf
+++ /dev/null
@@ -1,15 +0,0 @@
-<VirtualHost *:80>
- ServerName <%= catdap_vhost %>
- # Serve static content directly
- DocumentRoot <%= catdap_location %>/root
- Alias /static <%= catdap_location %>/root/static
-
- Alias / <%= catdap_location %>/script/catdap_fastcgi.pl/
-
- <Directory <%= catdap_location %>/script>
- Options +ExecCGI
- SetHandler fcgid-script
- Allow from all
- </Directory>
-</VirtualHost>
-