diff options
Diffstat (limited to 'modules')
-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], } |