diff options
Diffstat (limited to 'modules/apache')
-rw-r--r-- | modules/apache/manifests/init.pp | 7 | ||||
-rw-r--r-- | modules/apache/manifests/vhost/redirect_ssl.pp | 6 |
2 files changed, 6 insertions, 7 deletions
diff --git a/modules/apache/manifests/init.pp b/modules/apache/manifests/init.pp index 1662eadf..7002aa7d 100644 --- a/modules/apache/manifests/init.pp +++ b/modules/apache/manifests/init.pp @@ -1,11 +1,4 @@ class apache { - define vhost_redirect_ssl() { - apache::vhost::base { "redirect_ssl_$name": - vhost => $name, - content => template("apache/vhost_ssl_redirect.conf") - } - } - define vhost_catalyst_app($script, $location = '', $process = 4, $use_ssl = false, $vhost = false) { include apache::mod::fastcgi diff --git a/modules/apache/manifests/vhost/redirect_ssl.pp b/modules/apache/manifests/vhost/redirect_ssl.pp new file mode 100644 index 00000000..3458d59d --- /dev/null +++ b/modules/apache/manifests/vhost/redirect_ssl.pp @@ -0,0 +1,6 @@ +define apache::vhost::redirect_ssl() { + apache::vhost::base { "redirect_ssl_$name": + vhost => $name, + content => template('apache/vhost_ssl_redirect.conf') + } +} |