diff options
author | Nicolas Vigier <boklm@mageia.org> | 2013-07-25 21:58:01 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2013-07-25 21:58:01 +0000 |
commit | 8e14df6604b7fade549c4b9288a107b42afa1f1f (patch) | |
tree | e1d9674e0dfe091c768ade13aa946e9369408819 /modules/mga-advisories/manifests | |
parent | 18724f77aa0ef4a6469476672036e409cc694879 (diff) | |
download | puppet-8e14df6604b7fade549c4b9288a107b42afa1f1f.tar puppet-8e14df6604b7fade549c4b9288a107b42afa1f1f.tar.gz puppet-8e14df6604b7fade549c4b9288a107b42afa1f1f.tar.bz2 puppet-8e14df6604b7fade549c4b9288a107b42afa1f1f.tar.xz puppet-8e14df6604b7fade549c4b9288a107b42afa1f1f.zip |
mga-advisories: add aliases to ssl vhost
Diffstat (limited to 'modules/mga-advisories/manifests')
-rw-r--r-- | modules/mga-advisories/manifests/init.pp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/modules/mga-advisories/manifests/init.pp b/modules/mga-advisories/manifests/init.pp index b7d91e4b..714e947b 100644 --- a/modules/mga-advisories/manifests/init.pp +++ b/modules/mga-advisories/manifests/init.pp @@ -41,17 +41,19 @@ class mga-advisories( mode => '0755', } + $vhost_aliases = { + "/static" => '/usr/share/mga-advisories/static', + } apache::vhost::base { $vhost: location => $vhostdir, - aliases => { - "/static" => '/usr/share/mga-advisories/static', - }, + aliases => $vhost_aliases, require => File[$vhostdir], } apache::vhost::base { "ssl_$vhost": use_ssl => true, vhost => $vhost, + aliases => $vhost_aliases, location => $vhostdir, require => File[$vhostdir], } |