diff options
author | Michael Scherer <misc@mageia.org> | 2011-02-12 14:03:33 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2011-02-12 14:03:33 +0000 |
commit | fb8f3c68d1b1dcce005a6b02e3c9ffcef2de23b7 (patch) | |
tree | c8afad7478e142ed86518ae3e95278efa8fb4a5e /modules/bugzilla/manifests | |
parent | e7185d87f94db582f2139ce8c026c06c1a00eb9a (diff) | |
download | puppet-fb8f3c68d1b1dcce005a6b02e3c9ffcef2de23b7.tar puppet-fb8f3c68d1b1dcce005a6b02e3c9ffcef2de23b7.tar.gz puppet-fb8f3c68d1b1dcce005a6b02e3c9ffcef2de23b7.tar.bz2 puppet-fb8f3c68d1b1dcce005a6b02e3c9ffcef2de23b7.tar.xz puppet-fb8f3c68d1b1dcce005a6b02e3c9ffcef2de23b7.zip |
- enable ssl, and rewrite the web config to use the higher level apache
type we wrote
Diffstat (limited to 'modules/bugzilla/manifests')
-rw-r--r-- | modules/bugzilla/manifests/init.pp | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/modules/bugzilla/manifests/init.pp b/modules/bugzilla/manifests/init.pp index 29b74adf..104aed69 100644 --- a/modules/bugzilla/manifests/init.pp +++ b/modules/bugzilla/manifests/init.pp @@ -46,11 +46,21 @@ class bugzilla { apache::webapp_other{"bugzilla": webapp_file => "bugzilla/webapp_bugzilla.conf", - } + } + + $bugs_vhost = "bugs.$domain" + $vhost_root = "/usr/share/bugzilla/www" - apache::vhost_other_app { "bugs.$domain": - vhost_file => "bugzilla/vhost_bugs.conf", + apache::redirect_ssl { "$bugs_vhost": } + + apache::vhost_base { "$bugs_vhost": + aliases => { "/bugzilla/data" => "$lib_dir/bugzilla", + "/bugzilla/" => $vhost_root }, + use_ssl => true, + location => $vhost_root, + vhost => $bugs_vhost, } + subversion::snapshot { $bugzilla_location: source => "svn://svn.mageia.org/svn/web/templates/bugzilla/trunk" } |