aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2012-03-25 12:47:26 +0000
committerMichael Scherer <misc@mageia.org>2012-03-25 12:47:26 +0000
commitc7b761dabd635dc581322d8be0832a5da9ff8b99 (patch)
treedb853f6b2442013f264efd69e056e28953083280 /modules
parentcc807e7c63668180a38f62fd7b1b01a0333e4e20 (diff)
downloadpuppet-c7b761dabd635dc581322d8be0832a5da9ff8b99.tar
puppet-c7b761dabd635dc581322d8be0832a5da9ff8b99.tar.gz
puppet-c7b761dabd635dc581322d8be0832a5da9ff8b99.tar.bz2
puppet-c7b761dabd635dc581322d8be0832a5da9ff8b99.tar.xz
puppet-c7b761dabd635dc581322d8be0832a5da9ff8b99.zip
fix vhost invocation on several module, was missed by last commit, and add the one for redirect_ssl
Diffstat (limited to 'modules')
-rw-r--r--modules/bcd/manifests/web.pp2
-rw-r--r--modules/blog/manifests/init.pp4
-rw-r--r--modules/bugzilla/manifests/init.pp4
-rw-r--r--modules/buildsystem/manifests/binrepo.pp2
-rw-r--r--modules/buildsystem/manifests/maintdb.pp2
-rw-r--r--modules/buildsystem/manifests/pkgsubmit.pp2
-rw-r--r--modules/catdap/manifests/snapshot.pp2
-rw-r--r--modules/dashboard/manifests/init.pp2
-rw-r--r--modules/epoll/manifests/init.pp2
-rw-r--r--modules/gitweb/manifests/init.pp2
-rw-r--r--modules/mediawiki/manifests/base.pp4
-rw-r--r--modules/phpbb/manifests/base.pp4
-rw-r--r--modules/planet/manifests/init.pp2
-rw-r--r--modules/sympa/manifests/init.pp4
-rw-r--r--modules/transifex/manifests/init.pp2
-rw-r--r--modules/viewvc/manifests/init.pp2
16 files changed, 21 insertions, 21 deletions
diff --git a/modules/bcd/manifests/web.pp b/modules/bcd/manifests/web.pp
index d33506d5..abfa5647 100644
--- a/modules/bcd/manifests/web.pp
+++ b/modules/bcd/manifests/web.pp
@@ -2,7 +2,7 @@ class bcd::web {
include bcd::base
$location = "$bcd::home/public_html"
- apache::vhost_base { "bcd.$::domain":
+ apache::vhost::base { "bcd.$::domain":
location => $location,
content => template('bcd/vhost_bcd.conf'),
}
diff --git a/modules/blog/manifests/init.pp b/modules/blog/manifests/init.pp
index 647ea769..1abdf4d4 100644
--- a/modules/blog/manifests/init.pp
+++ b/modules/blog/manifests/init.pp
@@ -31,12 +31,12 @@ class blog {
include apache::mod::php
- apache::vhost_base { "$blog_domain":
+ apache::vhost::base { "$blog_domain":
location => $blog_location,
content => template('blog/blogs_vhosts.conf'),
}
- apache::vhost_base { "ssl_$blog_domain":
+ apache::vhost::base { "ssl_$blog_domain":
use_ssl => true,
vhost => $blog_domain,
location => $blog_location,
diff --git a/modules/bugzilla/manifests/init.pp b/modules/bugzilla/manifests/init.pp
index 068b6642..313ed6d3 100644
--- a/modules/bugzilla/manifests/init.pp
+++ b/modules/bugzilla/manifests/init.pp
@@ -38,9 +38,9 @@ class bugzilla {
$bugs_vhost = "bugs.$::domain"
$vhost_root = '/usr/share/bugzilla/www'
- apache::vhost_redirect_ssl { $bugs_vhost: }
+ apache::vhost::redirect_ssl { $bugs_vhost: }
- apache::vhost_base { $bugs_vhost:
+ apache::vhost::base { $bugs_vhost:
aliases => { '/bugzilla/' => $vhost_root },
use_ssl => true,
location => $vhost_root,
diff --git a/modules/buildsystem/manifests/binrepo.pp b/modules/buildsystem/manifests/binrepo.pp
index 195843df..661ee10c 100644
--- a/modules/buildsystem/manifests/binrepo.pp
+++ b/modules/buildsystem/manifests/binrepo.pp
@@ -34,7 +34,7 @@ class buildsystem::binrepo {
content => template('buildsystem/binrepo/sudoers.binrepo')
}
- apache::vhost_base { "binrepo.$::domain":
+ apache::vhost::base { "binrepo.$::domain":
location => $repodir,
content => template('buildsystem/binrepo/vhost_binrepo.conf'),
}
diff --git a/modules/buildsystem/manifests/maintdb.pp b/modules/buildsystem/manifests/maintdb.pp
index bbde4deb..d6eb25bc 100644
--- a/modules/buildsystem/manifests/maintdb.pp
+++ b/modules/buildsystem/manifests/maintdb.pp
@@ -47,7 +47,7 @@ class buildsystem::maintdb {
require => User[$login],
}
- apache::vhost_base { "maintdb.$::domain":
+ apache::vhost::base { "maintdb.$::domain":
location => $dbdir,
content => template('buildsystem/maintdb/vhost_maintdb.conf'),
}
diff --git a/modules/buildsystem/manifests/pkgsubmit.pp b/modules/buildsystem/manifests/pkgsubmit.pp
index f5500717..ba575cd2 100644
--- a/modules/buildsystem/manifests/pkgsubmit.pp
+++ b/modules/buildsystem/manifests/pkgsubmit.pp
@@ -7,7 +7,7 @@ class buildsystem::pkgsubmit {
ensure => directory,
}
- apache::vhost_base { "pkgsubmit.$::domain":
+ apache::vhost::base { "pkgsubmit.$::domain":
aliases => { '/uploads' => "$sched_home_dir/uploads" },
location => $location,
content => template('buildsystem/vhost_pkgsubmit.conf'),
diff --git a/modules/catdap/manifests/snapshot.pp b/modules/catdap/manifests/snapshot.pp
index 4dc7796f..10695f03 100644
--- a/modules/catdap/manifests/snapshot.pp
+++ b/modules/catdap/manifests/snapshot.pp
@@ -16,5 +16,5 @@ define catdap::snapshot($location, $svn_location) {
use_ssl => true,
}
- apache::vhost_redirect_ssl { $name: }
+ apache::vhost::redirect_ssl { $name: }
}
diff --git a/modules/dashboard/manifests/init.pp b/modules/dashboard/manifests/init.pp
index 8bf5479f..e644109e 100644
--- a/modules/dashboard/manifests/init.pp
+++ b/modules/dashboard/manifests/init.pp
@@ -34,7 +34,7 @@ class dashboard {
content => template('dashboard/make_report'),
}
- apache::vhost_base { "dashboard.$domain":
+ apache::vhost::base { "dashboard.$domain":
location => $dashboard_wwwdir,
}
diff --git a/modules/epoll/manifests/init.pp b/modules/epoll/manifests/init.pp
index 091da8f3..7d8420c0 100644
--- a/modules/epoll/manifests/init.pp
+++ b/modules/epoll/manifests/init.pp
@@ -10,7 +10,7 @@ class epoll {
require => Package['Epoll']
}
- apache::vhost_redirect_ssl { $vhost: }
+ apache::vhost::redirect_ssl { $vhost: }
$pgsql_password = extlookup('epoll_pgsql','x')
diff --git a/modules/gitweb/manifests/init.pp b/modules/gitweb/manifests/init.pp
index b9078f5d..d367bc51 100644
--- a/modules/gitweb/manifests/init.pp
+++ b/modules/gitweb/manifests/init.pp
@@ -20,7 +20,7 @@ class gitweb {
notify => Service['apache'],
}
- apache::vhost_base { "gitweb.$::domain":
+ apache::vhost::base { "gitweb.$::domain":
content => template('gitweb/vhost.conf')
}
}
diff --git a/modules/mediawiki/manifests/base.pp b/modules/mediawiki/manifests/base.pp
index 45847235..52600ac1 100644
--- a/modules/mediawiki/manifests/base.pp
+++ b/modules/mediawiki/manifests/base.pp
@@ -23,9 +23,9 @@ class mediawiki::base {
# TODO create the ldap user
if $vhost {
- apache::vhost_redirect_ssl { $vhost: }
+ apache::vhost::redirect_ssl { $vhost: }
- apache::vhost_base { "ssl_$vhost":
+ apache::vhost::base { "ssl_$vhost":
location => $root,
use_ssl => true,
vhost => $vhost,
diff --git a/modules/phpbb/manifests/base.pp b/modules/phpbb/manifests/base.pp
index e165679f..115c4592 100644
--- a/modules/phpbb/manifests/base.pp
+++ b/modules/phpbb/manifests/base.pp
@@ -31,11 +31,11 @@ class phpbb::base {
}
# TODO check that everything is locked down
- apache::vhost_base { "forums.$::domain":
+ apache::vhost::base { "forums.$::domain":
content => template('phpbb/forums_vhost.conf'),
}
- apache::vhost_base { "ssl_forums.$::domain":
+ apache::vhost::base { "ssl_forums.$::domain":
use_ssl => true,
vhost => "forums.$::domain",
content => template('phpbb/forums_vhost.conf'),
diff --git a/modules/planet/manifests/init.pp b/modules/planet/manifests/init.pp
index 9b047a4d..14930899 100644
--- a/modules/planet/manifests/init.pp
+++ b/modules/planet/manifests/init.pp
@@ -12,7 +12,7 @@ class planet {
include apache::mod::php
include apache::mod::deflate
- apache::vhost_base { "$vhost":
+ apache::vhost::base { "$vhost":
location => $location,
content => template('planet/planet_vhosts.conf')
}
diff --git a/modules/sympa/manifests/init.pp b/modules/sympa/manifests/init.pp
index 5a9affb8..a7fb1fd3 100644
--- a/modules/sympa/manifests/init.pp
+++ b/modules/sympa/manifests/init.pp
@@ -50,9 +50,9 @@ class sympa {
webapp_file => 'sympa/webapp_sympa.conf',
}
- apache::vhost_redirect_ssl { $sympa::variable::vhost: }
+ apache::vhost::redirect_ssl { $sympa::variable::vhost: }
- apache::vhost_base { $sympa::variable::vhost:
+ apache::vhost::base { $sympa::variable::vhost:
use_ssl => true,
content => template('sympa/vhost_ml.conf'),
}
diff --git a/modules/transifex/manifests/init.pp b/modules/transifex/manifests/init.pp
index 63383734..1310fb03 100644
--- a/modules/transifex/manifests/init.pp
+++ b/modules/transifex/manifests/init.pp
@@ -50,7 +50,7 @@ class transifex {
require => Package['transifex'],
}
- apache::vhost_redirect_ssl { "transifex.$::domain": }
+ apache::vhost::redirect_ssl { "transifex.$::domain": }
# the group are mapped from ldap, since AUTH_LDAP_FIND_GROUP_PERMS is set to yes
# but the group need to exist in django first
diff --git a/modules/viewvc/manifests/init.pp b/modules/viewvc/manifests/init.pp
index 8a94a004..882fe288 100644
--- a/modules/viewvc/manifests/init.pp
+++ b/modules/viewvc/manifests/init.pp
@@ -28,7 +28,7 @@ class viewvc {
environment => 'MAILTO=root',
}
- apache::vhost_base { "svnweb.$::domain":
+ apache::vhost::base { "svnweb.$::domain":
aliases => {'/viewvc' => '/var/www/viewvc/',
'/' => '/usr/share/viewvc/bin/wsgi/viewvc.fcgi/'},
content => template('viewvc/vhost.conf')