aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2011-12-19 15:10:21 +0000
committerNicolas Vigier <boklm@mageia.org>2011-12-19 15:10:21 +0000
commit0f90fe818cbc237515256f669cfb54f079f97e5d (patch)
treebfbab54f714dbcfde7aeeec5f4a9706ba6942c32
parentb9ba3e4626ec49c48bf50ddbfd7a7f743252a56f (diff)
downloadpuppet-0f90fe818cbc237515256f669cfb54f079f97e5d.tar
puppet-0f90fe818cbc237515256f669cfb54f079f97e5d.tar.gz
puppet-0f90fe818cbc237515256f669cfb54f079f97e5d.tar.bz2
puppet-0f90fe818cbc237515256f669cfb54f079f97e5d.tar.xz
puppet-0f90fe818cbc237515256f669cfb54f079f97e5d.zip
add temporary redirect of www.mageia.org to blog post
-rw-r--r--deployment/websites/manifests/init.pp6
-rw-r--r--manifests/nodes.pp1
2 files changed, 7 insertions, 0 deletions
diff --git a/deployment/websites/manifests/init.pp b/deployment/websites/manifests/init.pp
index d62aef56..01082c6b 100644
--- a/deployment/websites/manifests/init.pp
+++ b/deployment/websites/manifests/init.pp
@@ -56,6 +56,12 @@ class websites {
}
}
+ class www_outage {
+ apache::vhost_redirect { "www.$domain":
+ url => 'http://blog.mageia.org/en/2011/12/19/server-outage/#'
+ }
+ }
+
class svn {
apache::vhost_redirect { "svn.$domain":
url => "http://svnweb.$domain/",
diff --git a/manifests/nodes.pp b/manifests/nodes.pp
index a9c28e25..d823f234 100644
--- a/manifests/nodes.pp
+++ b/manifests/nodes.pp
@@ -199,6 +199,7 @@ node champagne {
include websites::static
include websites::hugs
include websites::releases
+ include websites::www_outage
include dashboard::base
include access_classes::web
include openssh::ssh_keys_from_ldap